[dpdk-users] DPDK 20.05 MLX5 'no Verbs device matches PCI device , are kernel drivers loaded'

David Christensen drc at linux.vnet.ibm.com
Mon Oct 26 17:44:50 CET 2020


> I am trying to test the mlx5 performance on ubuntu 16.04, and when I run the testpmd with mlx nic,
> 
> Some error happened.
> 
> 
> 
> 
> EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.3 (socket 1)

This PCI device ID, 15b3:1018, represents a virtual function (VF) 
according to https://pci-ids.ucw.cz/read/PC/15b3/1018.  Why are you 
using a VF in this situation?  Are you running inside a VM or on a bare 
metal host?

> 
> net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.3, are kernel drivers loaded?
> 
> EAL: Requested device 0000:af:02.3 cannot be used
> 
> EAL: Probe PCI driver: net_mlx5 (15b3:1018) device: 0000:af:02.4 (socket 1)
> 
> net_mlx5: mlx5.c:3322: mlx5_pci_probe(): no Verbs device matches PCI device 0000:af:02.4, are kernel drivers loaded?
> 
> EAL: Requested device 0000:af:02.4 cannot be used
> 
> EAL: Bus (pci) probe failed.

The code in mlx5_os_pci_probe() suggests that the DPDK mlx5 driver 
didn't find any Infiniband devices on your system.  Is your adapter 
enabled for Infiniband on the host system?  What does "lspci | grep 
Mellanox" return?  What about "ibv_devinfo"?

Dave


More information about the users mailing list