X710 (10G) NIC VFs report a speed of 100M when used with DPDK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Steven Webster |
Bug Description
Brief Description
-----------------
When SR-IOV interfaces with device type "Ethernet Controller X710 for 10GbE SFP+ [1572]" are used in a DPDK enabled application container, it can be seen that the speed reported by these interfaces is 100Mb, rather than 10Gb.
The i40 PF and VF drivers need to be upgraded.
Severity
--------
Major: System/Feature is usable but degraded
Steps to Reproduce
------------------
system host-lock controller-0
system host-label-assign controller-0 sriovdp=enabled
system host-label-assign controller-0 kube-cpu-
system host-label-assign controller-0 kube-topology-
system host-if-modify controller-0 enp177s0f0 -n sriov0 -c pci-sriov --vf-driver=vfio -N 2
system interface-
system host-unlock controller-0
network attachment definition:
apiVersion: "k8s.cni.
kind: NetworkAttachme
metadata:
name: sriov0
annotations:
k8s.
spec:
config: '{
"type": "sriov",
"vlan": 3460,
"trust": "on",
"spoofchk": "off"
}'
pod spec:
apiVersion: v1
kind: Pod
metadata:
name: dpdkapp
annotations:
k8s.
{ "name": "sriov0" },
{ "name": "sriov0" }
]'
spec:
restartPolicy: Never
containers:
- name: dpdkapp
image: "dpdkapp"
securityCon
privileged: true
volumeMounts:
- mountPath: /mnt/huge-1048576kB
name: hugepage
stdin: true
tty: true
securityCon
capabilities:
add: ["IPC_LOCK", "NET_ADMIN", "NET_RAW"]
resources:
requests:
memory: 2Gi
cpu: 3
limits:
memory: 2Gi
cpu: 3
volumes:
- name: hugepage
emptyDir:
medium: HugePages
Expected Behavior
------------------
The DPDK application should report a speed for the VF interfaces of 10G
Actual Behavior
----------------
Reported port speed is 100M
Reproducibility
---------------
100%
System Configuration
-------
AIO-SX
Branch/Pull Time/Commit
-------
master, 2020-06-24
Last Pass
---------
This is likely caused by the last uprev of the drivers
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Regression Testing
Workaround
----------
Upgraded i40 (2.11.29), iavf (3.9.5) drivers
Changed in starlingx: | |
assignee: | nobody → Steven Webster (swebster-wr) |
tags: | added: stx.distro.other stx.networking |
tags: | added: in-r-stx40 |
stx.4.0 / high priority - this results in serious throughput degradation in this config