Installed Mellanox ConnectX5 as below, created two VFs but when starting DPDK I see this error:
DPDK:EAL: Probe PCI driver: mlx5_pci (15b3:1018) device: 0000:3b:00.3 (socket 0)
DPDK:mlx5_common: No Verbs device matches PCI device 0000:3b:00.3, are kernel drivers loaded?
DPDK:mlx5_common: Verbs device not found: 0000:3b:00.3
DPDK:mlx5_common: Failed to initialize device context.
Drivers are loaded:
user@metis:~$ lsmod | grep ml
mlx5_ib 348160 0
ib_uverbs 155648 2 irdma,mlx5_ib
ib_core 368640 3 irdma,ib_uverbs,mlx5_ib
mlx5_core 1400832 1 mlx5_ib
mlxfw 32768 1 mlx5_core
psample 20480 1 mlx5_core
tls 102400 1 mlx5_core
pci_hyperv_intf 16384 1 mlx5_core
and this is installation procedure.
sudo ./MLNX_OFED_LINUX-5.6-1.0.3.3-ubuntu22.04-x86_64/mlnxofedinstall --dpdk --upstream-libs
------------------------------------
Installing ofed-scripts-5.6...
Installing mstflint-4.16.1...
Installing mlnx-tools-5.2.0...
Installing mlnx-ofed-kernel-utils-5.6...
Installing mlnx-ofed-kernel-dkms-5.6...
Installing rdma-core-56mlnx40...
Installing libibverbs1-56mlnx40...
Installing ibverbs-utils-56mlnx40...
Installing ibverbs-providers-56mlnx40...
Installing libibverbs-dev-56mlnx40...
Installing librdmacm1-56mlnx40...
Installing rdmacm-utils-56mlnx40...
Installing librdmacm-dev-56mlnx40...
Installing libibumad3-56mlnx40...
Installing ibacm-56mlnx40...
Installing python3-pyverbs-56mlnx40...
Selecting previously unselected package mlnx-fw-updater.
(Reading database ... 208346 files and directories currently installed.)
Preparing to unpack .../mlnx-fw-updater_5.6-1.0.3.3_amd64.deb ...
Unpacking mlnx-fw-updater (5.6-1.0.3.3) ...
Setting up mlnx-fw-updater (5.6-1.0.3.3) ...
Added 'RUN_FW_UPDATER_ONBOOT=no to /etc/infiniband/openib.conf
Initializing...
Attempting to perform Firmware update...
Querying Mellanox devices firmware ...
Querying Mellanox devices firmware ...
Device #1:
----------
Device Type: ConnectX5
Part Number: MCX516A-CCA_Ax
Description: ConnectX-5 EN network interface card; 100GbE dual-port QSFP28; PCIe3.0 x16; tall bracket; ROHS R6
PSID: MT_0000000012
PCI Device Name: 3b:00.0
Base GUID: b8599f0300b7cebe
Base MAC: b8599fb7cebe
Versions: Current Available
FW 16.33.1048 16.33.1048
PXE 3.6.0502 3.6.0502
UEFI 14.26.0017 14.26.0017
Status: Up to date