ConnectX-6 Dx testpmd: No probed ethernet devices

I have a centos 7.x based DPDK 22.11 build on a machine with two mellanox nics. One is ConnectX-5 Ex and other is ConnectX-6 Dx.

They both throw No probed ethernet devices on the latest DPDK version 22.11 on Centos 7. If one upgrades to CentOS 8, they work. But I need to remain on CentOS 7. Is there a workaround.

The workaround suggested in other threads does not cover meson builds.

[root@bminstance dpdk-22.11]# dpdk-devbind.py -s

Network devices using DPDK-compatible driver

0000:4b:00.1 ‘MT2892 Family [ConnectX-6 Dx] 101d’ drv=vfio-pci unused=mlx5_core
0000:98:00.1 ‘MT28800 Family [ConnectX-5 Ex] 1019’ drv=vfio-pci unused=mlx5_core

Network devices using kernel driver

0000:4b:00.0 ‘MT2892 Family [ConnectX-6 Dx] 101d’ if=ens300f0 drv=mlx5_core unused=vfio-pci Active
0000:98:00.0 ‘MT28800 Family [ConnectX-5 Ex] 1019’ if=ens800f0 drv=mlx5_core unused=vfio-pci

No ‘Baseband’ devices detected

No ‘Crypto’ devices detected

Other DMA devices

0000:00:01.0 ‘Device 0b00’ unused=vfio-pci
0000:00:01.1 ‘Device 0b00’ unused=vfio-pci
0000:00:01.2 ‘Device 0b00’ unused=vfio-pci
0000:00:01.3 ‘Device 0b00’ unused=vfio-pci
0000:00:01.4 ‘Device 0b00’ unused=vfio-pci
0000:00:01.5 ‘Device 0b00’ unused=vfio-pci
0000:00:01.6 ‘Device 0b00’ unused=vfio-pci
0000:00:01.7 ‘Device 0b00’ unused=vfio-pci
0000:80:01.0 ‘Device 0b00’ unused=vfio-pci
0000:80:01.1 ‘Device 0b00’ unused=vfio-pci
0000:80:01.2 ‘Device 0b00’ unused=vfio-pci
0000:80:01.3 ‘Device 0b00’ unused=vfio-pci
0000:80:01.4 ‘Device 0b00’ unused=vfio-pci
0000:80:01.5 ‘Device 0b00’ unused=vfio-pci
0000:80:01.6 ‘Device 0b00’ unused=vfio-pci
0000:80:01.7 ‘Device 0b00’ unused=vfio-pci

No ‘Eventdev’ devices detected

No ‘Mempool’ devices detected

No ‘Compress’ devices detected

No ‘Misc (rawdev)’ devices detected

No ‘Regex’ devices detected

[root@bminstance dpdk-22.11]# dpdk-testpmd -l 0-3 -n 4 -a 98:00.1 – -i --nb-cores=2
EAL: Detected CPU lcores: 72
EAL: Detected NUMA nodes: 2
EAL: Detected static linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode ‘VA’
EAL: VFIO support initialized
EAL: DPDK is running on a NUMA system, but is compiled without NUMA support.
EAL: This will have adverse consequences for performance and usability.
EAL: Please use --legacy-mem option, or recompile with NUMA support.
TELEMETRY: No legacy callbacks, legacy socket not created
testpmd: No probed ethernet devices
Interactive-mode selected
testpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Done
testpmd>

hi vikasd

Have you ever install ofed in your centos 7?
If the driver install correct, should not have such issue.
here is the driver download link:

Yes, I have OFED 5.9. Here are the fw versions

ibv_devinfo
hca_id: mlx5_0
transport: InfiniBand (0)
fw_ver: 22.31.1660
node_guid: 08c0:eb03:004a:5f8a
sys_image_guid: 08c0:eb03:004a:5f8a
vendor_id: 0x02c9
vendor_part_id: 4125
hw_ver: 0x0
board_id: ORC0000000007
phys_port_cnt: 1
port: 1
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 4096 (5)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet

hca_id: mlx5_2
transport: InfiniBand (0)
fw_ver: 16.29.1436
node_guid: 08c0:eb03:0072:5580
sys_image_guid: 08c0:eb03:0072:5580
vendor_id: 0x02c9
vendor_part_id: 4121
hw_ver: 0x0
board_id: ORC0000000003
phys_port_cnt: 1
port: 1
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 1024 (3)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet

hi vikasd

We need more information for further debug this issue.
I suggest you collect the sysinfo-snapshot log and contact networking-support@nvidia.com for solve such issue.

Thanks, just send the output to the alias you mention.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.