Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
[Mellanox][CX6][RHEL9.2] dpdk sriov vf promisc does not work
Version-Release number of selected component (if applicable):
[root@dell-per740-43 dpdk-standalone]# uname -a
Linux dell-per740-43.rhts.eng.pek2.redhat.com 5.14.0-249.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 30 16:51:50 EST 2023 x86_64 x86_64 x86_64 GNU/Linux
[root@dell-per740-43 dpdk-standalone]#
[root@dell-per740-43 dpdk-standalone]# rpm -q dpdk
dpdk-22.11-1.el9.x86_64
[root@dell-per740-43 dpdk-standalone]# ethtool -i ens3f1np1
driver: mlx5_core
version: 5.14.0-249.el9.x86_64
firmware-version: 22.35.2000 (MT_0000000528)
expansion-rom-version:
bus-info: 0000:5e:00.1
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes
[root@dell-per740-43 dpdk-standalone]# ethtool -i enp94s1f10v0
driver: mlx5_core
version: 5.14.0-249.el9.x86_64
firmware-version: 22.35.2000 (MT_0000000528)
expansion-rom-version:
bus-info: 0000:5e:01.2
supports-statistics: yes
supports-test: yes
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: yes
[root@dell-per740-43 dpdk-standalone]# lspci -s 0000:5e:00.1
5e:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
[root@dell-per740-43 dpdk-standalone]# lspci -s 0000:5e:00.1 -v
5e:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx]
Subsystem: Mellanox Technologies Device 0083
Flags: bus master, fast devsel, latency 0, IRQ 354, NUMA node 0, IOMMU group 81
Memory at ba000000 (64-bit, prefetchable) [size=32M]
Expansion ROM at b8900000 [disabled] [size=1M]
Capabilities: [60] Express Endpoint, MSI 00
Capabilities: [48] Vital Product Data
Capabilities: [9c] MSI-X: Enable+ Count=64 Masked-
Capabilities: [c0] Vendor Specific Information: Len=18 <?>
Capabilities: [40] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Alternative Routing-ID Interpretation (ARI)
Capabilities: [180] Single Root I/O Virtualization (SR-IOV)
Capabilities: [230] Access Control Services
Capabilities: [420] Data Link Feature <?>
Kernel driver in use: mlx5_core
Kernel modules: mlx5_core
[root@dell-per740-43 dpdk-standalone]#
How reproducible:
100%
Steps to Reproduce:
DUT side
:: [ 08:04:32 ] :: [ LOG ] :: [ BEGIN ] :: Running 'vf_create ('ens3f1np1', 1, True, True) {}'
:: [ 08:04:32 ] :: [ BEGIN ] :: Running 'ip li set ens3f1np1 up'
:: [ 08:04:32 ] :: [ PASS ] :: Command 'ip li set ens3f1np1 up' (Expected 0, got 0)
:: [ 08:04:36 ] :: [ LOG ] :: 0
:: [ 08:04:41 ] :: [ BEGIN ] :: Running 'ip li set ens3f1np1 vf 0 spoofchk on'
:: [ 08:04:41 ] :: [ PASS ] :: Command 'ip li set ens3f1np1 vf 0 spoofchk on' (Expected 0, got 0)
:: [ 08:04:41 ] :: [ BEGIN ] :: Running 'ip li set ens3f1np1 vf 0 trust on'
:: [ 08:04:41 ] :: [ PASS ] :: Command 'ip li set ens3f1np1 vf 0 trust on' (Expected 0, got 0)
dpdk-testpmd -a 0000:5e:01.2 -- -i --forward-mode=macswap --auto-start
EAL: Detected CPU lcores: 72
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: VFIO support initialized
EAL: Probe PCI driver: mlx5_pci (15b3:101e) device: 0000:5e:01.2 (socket 0)
TELEMETRY: No legacy callbacks, legacy socket not created
testpmd: create a new mbuf pool <mb_pool_0>: n=435456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
testpmd: create a new mbuf pool <mb_pool_1>: n=435456, size=2176, socket=1
testpmd: preferred mempool ops selected: ring_mp_mc
Warning! port-topology=paired and odd forward ports number, the last port will pair with itself.
:: [ 08:05:09 ] :: [ LOG ] :: Exec update testpmd command
:: [ 08:05:09 ] :: [ LOG ] ::
stop
set verbose 9
port stop all
set promisc all off
port start all
start
Peer side
Use scapy construct ipv4 and ipv6 packets
Actual results:
Can not receive the back packets
Expected results:
It works fine
Additional info:
Comment 3RHEL Program Management
2023-09-21 12:31:50 UTC
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.
Comment 4RHEL Program Management
2023-09-21 12:35:36 UTC
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: [Mellanox][CX6][RHEL9.2] dpdk sriov vf promisc does not work Version-Release number of selected component (if applicable): [root@dell-per740-43 dpdk-standalone]# uname -a Linux dell-per740-43.rhts.eng.pek2.redhat.com 5.14.0-249.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jan 30 16:51:50 EST 2023 x86_64 x86_64 x86_64 GNU/Linux [root@dell-per740-43 dpdk-standalone]# [root@dell-per740-43 dpdk-standalone]# rpm -q dpdk dpdk-22.11-1.el9.x86_64 [root@dell-per740-43 dpdk-standalone]# ethtool -i ens3f1np1 driver: mlx5_core version: 5.14.0-249.el9.x86_64 firmware-version: 22.35.2000 (MT_0000000528) expansion-rom-version: bus-info: 0000:5e:00.1 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: no supports-priv-flags: yes [root@dell-per740-43 dpdk-standalone]# ethtool -i enp94s1f10v0 driver: mlx5_core version: 5.14.0-249.el9.x86_64 firmware-version: 22.35.2000 (MT_0000000528) expansion-rom-version: bus-info: 0000:5e:01.2 supports-statistics: yes supports-test: yes supports-eeprom-access: no supports-register-dump: no supports-priv-flags: yes [root@dell-per740-43 dpdk-standalone]# lspci -s 0000:5e:00.1 5e:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [root@dell-per740-43 dpdk-standalone]# lspci -s 0000:5e:00.1 -v 5e:00.1 Ethernet controller: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] Subsystem: Mellanox Technologies Device 0083 Flags: bus master, fast devsel, latency 0, IRQ 354, NUMA node 0, IOMMU group 81 Memory at ba000000 (64-bit, prefetchable) [size=32M] Expansion ROM at b8900000 [disabled] [size=1M] Capabilities: [60] Express Endpoint, MSI 00 Capabilities: [48] Vital Product Data Capabilities: [9c] MSI-X: Enable+ Count=64 Masked- Capabilities: [c0] Vendor Specific Information: Len=18 <?> Capabilities: [40] Power Management version 3 Capabilities: [100] Advanced Error Reporting Capabilities: [150] Alternative Routing-ID Interpretation (ARI) Capabilities: [180] Single Root I/O Virtualization (SR-IOV) Capabilities: [230] Access Control Services Capabilities: [420] Data Link Feature <?> Kernel driver in use: mlx5_core Kernel modules: mlx5_core [root@dell-per740-43 dpdk-standalone]# How reproducible: 100% Steps to Reproduce: DUT side :: [ 08:04:32 ] :: [ LOG ] :: [ BEGIN ] :: Running 'vf_create ('ens3f1np1', 1, True, True) {}' :: [ 08:04:32 ] :: [ BEGIN ] :: Running 'ip li set ens3f1np1 up' :: [ 08:04:32 ] :: [ PASS ] :: Command 'ip li set ens3f1np1 up' (Expected 0, got 0) :: [ 08:04:36 ] :: [ LOG ] :: 0 :: [ 08:04:41 ] :: [ BEGIN ] :: Running 'ip li set ens3f1np1 vf 0 spoofchk on' :: [ 08:04:41 ] :: [ PASS ] :: Command 'ip li set ens3f1np1 vf 0 spoofchk on' (Expected 0, got 0) :: [ 08:04:41 ] :: [ BEGIN ] :: Running 'ip li set ens3f1np1 vf 0 trust on' :: [ 08:04:41 ] :: [ PASS ] :: Command 'ip li set ens3f1np1 vf 0 trust on' (Expected 0, got 0) dpdk-testpmd -a 0000:5e:01.2 -- -i --forward-mode=macswap --auto-start EAL: Detected CPU lcores: 72 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: VFIO support initialized EAL: Probe PCI driver: mlx5_pci (15b3:101e) device: 0000:5e:01.2 (socket 0) TELEMETRY: No legacy callbacks, legacy socket not created testpmd: create a new mbuf pool <mb_pool_0>: n=435456, size=2176, socket=0 testpmd: preferred mempool ops selected: ring_mp_mc testpmd: create a new mbuf pool <mb_pool_1>: n=435456, size=2176, socket=1 testpmd: preferred mempool ops selected: ring_mp_mc Warning! port-topology=paired and odd forward ports number, the last port will pair with itself. :: [ 08:05:09 ] :: [ LOG ] :: Exec update testpmd command :: [ 08:05:09 ] :: [ LOG ] :: stop set verbose 9 port stop all set promisc all off port start all start Peer side Use scapy construct ipv4 and ipv6 packets Actual results: Can not receive the back packets Expected results: It works fine Additional info: