Bug 2182641
| Summary: | [i40e] iavf_dev_init_vlan(): Failed to update vlan offload | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Jiying Qiu <jiqiu> |
| Component: | dpdk | Assignee: | David Marchand <dmarchan> |
| Status: | CLOSED MIGRATED | QA Contact: | Hekai Wang <hewang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.8 | CC: | fleitner, ovs-qe |
| Target Milestone: | rc | Keywords: | MigratedToJIRA |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-21 12:35:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |
Description of problem: vf with vlan run dpdk testpmd report error Version-Release number of selected component (if applicable): kernel-4.18.0-477.6.1.el8_8.x86_64 dpdk-21.11-3.el8.x86_64 How reproducible: always Steps to Reproduce: echo 1 > /sys/bus/pci/devices/0000:84:00.0/sriov_numvfs echo 1 > /sys/bus/pci/devices/0000:84:00.1/sriov_numvfs ip li set enp132s0f0 vf 0 vlan 2 ip li set enp132s0f1 vf 0 vlan 2 modprobe vfio-pci driverctl -v set-override 0000:84:0a.0 vfio-pci driverctl -v set-override 0000:84:02.0 vfio-pci dpdk-testpmd -a 0000:84:02.0 -a 0000:84:0a.0 -- -i --auto-start Actual results: # dpdk-testpmd -a 0000:84:02.0 -a 0000:84:0a.0 -- -i --auto-start EAL: Detected CPU lcores: 48 EAL: Detected NUMA nodes: 2 EAL: Detected shared linkage of DPDK EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: No available 2048 kB hugepages reported EAL: VFIO support initialized EAL: Using IOMMU type 1 (Type 1) EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:84:02.0 (socket 1) EAL: Probe PCI driver: net_iavf (8086:154c) device: 0000:84:0a.0 (socket 1) TELEMETRY: No legacy callbacks, legacy socket not created Interactive-mode selected Auto-start selected testpmd: create a new mbuf pool <mb_pool_0>: n=331456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_1>: n=331456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Configuring Port 0 (socket 1) iavf_dev_init_vlan(): Failed to update vlan offload iavf_dev_configure(): configure VLAN failed: -95 iavf_configure_queues(): RXDID[1] is not supported, request default RXDID[1] in Queue[0] Port 0: link state change event Port 0: link state change event Port 0: C2:37:BB:D3:B3:FA Configuring Port 1 (socket 1) iavf_dev_init_vlan(): Failed to update vlan offload iavf_dev_configure(): configure VLAN failed: -95 iavf_configure_queues(): RXDID[1] is not supported, request default RXDID[1] in Queue[0] Port 1: link state change event Port 1: link state change event Port 1: 6A:71:EA:B1:38:0F Checking link statuses... Done Start automatic packet forwarding io packet forwarding - ports=2 - cores=1 - streams=2 - NUMA support enabled, MP allocation mode: native Logical Core 2 (socket 0) forwards packets on 2 streams: RX P=0/Q=0 (socket 1) -> TX P=1/Q=0 (socket 1) peer=02:00:00:00:00:01 RX P=1/Q=0 (socket 1) -> TX P=0/Q=0 (socket 1) peer=02:00:00:00:00:00 io packet forwarding packets/burst=32 nb forwarding cores=1 - nb forwarding ports=2 port 0: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=512 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=32 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x10000 - TX RS bit threshold=32 port 1: RX queue number: 1 Tx queue number: 1 Rx offloads=0x0 Tx offloads=0x10000 RX queue: 0 RX desc=512 - RX free threshold=32 RX threshold registers: pthresh=0 hthresh=0 wthresh=0 RX Offloads=0x0 TX queue: 0 TX desc=512 - TX free threshold=32 TX threshold registers: pthresh=0 hthresh=0 wthresh=0 TX offloads=0x10000 - TX RS bit threshold=32 testpmd> Expected results: run normally Additional info: # ethtool -i enp132s0f0 driver: i40e version: 4.18.0-477.6.1.el8_8.x86_64 firmware-version: 9.00 0x8000cfed 21.5.9 expansion-rom-version: bus-info: 0000:84:00.0 supports-statistics: yes supports-test: yes supports-eeprom-access: yes supports-register-dump: yes supports-priv-flags: yes