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>