* DPDK22.11 on CentOS 7.x testpmd: No probed ethernet devices
[not found] <1295695923.537729.1678211077605.ref@mail.yahoo.com>
@ 2023-03-07 17:44 ` Vikas Deolaliker
2023-03-07 21:17 ` Stephen Hemminger
0 siblings, 1 reply; 2+ messages in thread
From: Vikas Deolaliker @ 2023-03-07 17:44 UTC (permalink / raw)
To: users
[-- Attachment #1: Type: text/plain, Size: 2786 bytes --]
I am using dpdk 22.11 on CentOS 7.X on intel machine with two MLNX cards. They are recognized by DPDK by both vfio-pci and uio-generic. I compiled it using the instructions on 2. System Requirements — Data Plane Development Kit 23.03.0-rc1 documentation (dpdk.org)
The issue is when I run testpmd, it does not return any ethernet devices. Says No Probed Ethernet devices.
dpdk-testpmd -l 0-3 -n 4 -a 98:00.1 -- -i --nb-cores=2EAL: Detected CPU lcores: 72EAL: Detected NUMA nodes: 2EAL: Detected static linkage of DPDKEAL: Multi-process socket /var/run/dpdk/rte/mp_socketEAL: Selected IOVA mode 'VA'EAL: VFIO support initializedEAL: 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 createdtestpmd: No probed ethernet devicesInteractive-mode selectedtestpmd: create a new mbuf pool <mb_pool_0>: n=171456, size=2176, socket=0testpmd: preferred mempool ops selected: ring_mp_mcDonetestpmd>
% 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_core0000: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-pci0000:00:01.1 'Device 0b00' unused=vfio-pci0000:00:01.2 'Device 0b00' unused=vfio-pci0000:00:01.3 'Device 0b00' unused=vfio-pci0000:00:01.4 'Device 0b00' unused=vfio-pci0000:00:01.5 'Device 0b00' unused=vfio-pci0000:00:01.6 'Device 0b00' unused=vfio-pci0000:00:01.7 'Device 0b00' unused=vfio-pci0000:80:01.0 'Device 0b00' unused=vfio-pci0000:80:01.1 'Device 0b00' unused=vfio-pci0000:80:01.2 'Device 0b00' unused=vfio-pci0000:80:01.3 'Device 0b00' unused=vfio-pci0000:80:01.4 'Device 0b00' unused=vfio-pci0000:80:01.5 'Device 0b00' unused=vfio-pci0000:80:01.6 'Device 0b00' unused=vfio-pci0000: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===========================
[-- Attachment #2: Type: text/html, Size: 4248 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DPDK22.11 on CentOS 7.x testpmd: No probed ethernet devices
2023-03-07 17:44 ` DPDK22.11 on CentOS 7.x testpmd: No probed ethernet devices Vikas Deolaliker
@ 2023-03-07 21:17 ` Stephen Hemminger
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2023-03-07 21:17 UTC (permalink / raw)
To: Vikas Deolaliker; +Cc: users
On Tue, 7 Mar 2023 17:44:37 +0000 (UTC)
Vikas Deolaliker <vikasd@yahoo.com> wrote:
> I am using dpdk 22.11 on CentOS 7.X on intel machine with two MLNX cards. They are recognized by DPDK by both vfio-pci and uio-generic. I compiled it using the instructions on 2. System Requirements — Data Plane Development Kit 23.03.0-rc1 documentation (dpdk.org)
Mellanox (Nvidia) devices do not use VFIO or uio-generic.
Instead, they use rdma library.
https://doc.dpdk.org/guides/nics/mlx5.html
Make sure you have right libraries and drivers (including kernel).
https://doc.dpdk.org/guides/platform/mlx5.html#mlx5-common-compilation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-07 21:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1295695923.537729.1678211077605.ref@mail.yahoo.com>
2023-03-07 17:44 ` DPDK22.11 on CentOS 7.x testpmd: No probed ethernet devices Vikas Deolaliker
2023-03-07 21:17 ` Stephen Hemminger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).