<div dir="ltr">Hi,<div><br></div><div>Based on your output, the ConnectX-4LX device is configured in LAG mode managed via the kernel bonding scripts. In this mode, both physical functions share a single port (mlx5_bond_0). You should only probe the first PCI BDF - 01:00.0, not the 2nd one.</div><div><br></div><div>By the way, the --dpdk installation flag should not be necessary, it is an old flag keps for Mellanox OFED builds lower than 5.x.</div><div><br></div><div>Regards,</div><div>Erez</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 5 Apr 2022 at 19:17, fwefew 4t4tg <<a href="mailto:7532yahoo@gmail.com">7532yahoo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I built the current version of DPDK directly from <a href="http://dpdk.org" target="_blank">dpdk.org</a> after I installed the current OFED Mellanox driver set:<br><br>* MLNX_OFED_LINUX-5.5-1.0.3.2-ubuntu20.04-x86_64.iso<br><br>with ./install --dpdk<br><br>I am using a Mellanox Technologies MT27710 Family [ConnectX-4 Lx] which is Ethernet only; there is no IB mode for this NIC. This is a MT_2420110034 board. However, when I run dpdk-testpmd I see "No Verbs device matches PCI device 0000:01:00.1, are kernel drivers loaded?"<br><br>EAL: Detected CPU lcores: 16<br>EAL: Detected NUMA nodes: 1<br>EAL: Detected static linkage of DPDK<br>EAL: Selected IOVA mode 'PA'<br>EAL: No free 2048 kB hugepages reported on node 0<br>EAL: VFIO support initialized<br>EAL: Probe PCI driver: mlx5_pci (15b3:1015) device: 0000:01:00.1 (socket 0)<br>mlx5_common: No Verbs device matches PCI device 0000:01:00.1, are kernel drivers loaded?  <br>mlx5_common: Verbs device not found: 01:00.1<br>mlx5_common: Failed to initialize device context.<br>EAL: Requested device 0000:01:00.1 cannot be used<br>EAL: Bus (pci) probe failed.<br><br>As far as I can see all the kernel modules are loaded:<br><br>lsmod | egrep "(ib|mlx)" | sort<br>ib_cm                  53248  2 rdma_cm,ib_ipoib<br>ib_core               368640  8 rdma_cm,ib_ipoib,iw_cm,ib_umad,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm<br>ib_ipoib              135168  0<br>ib_umad                24576  0<br>ib_uverbs             139264  2 rdma_ucm,mlx5_ib<br>libahci                36864  1 ahci<br>libcrc32c              16384  2 btrfs,raid456<br>mlx5_core            1634304  1 mlx5_ib<br>mlx5_ib               397312  0<br>mlx_compat             69632  11 rdma_cm,ib_ipoib,mlxdevm,iw_cm,ib_umad,ib_core,rdma_ucm,ib_uverbs,mlx5_ib,ib_cm,mlx5_core<br>mlxdevm               172032  1 mlx5_core<br>mlxfw                  32768  1 mlx5_core<br>pci_hyperv_intf        16384  1 mlx5_core<br>psample                20480  1 mlx5_core<br>tls                    94208  2 bonding,mlx5_core<br><br>root@dc-c3-small-x86-01:~/Dev/reinvent/scripts# mst status -v<br>MST modules:<br>------------<br>    MST PCI module is not loaded<br>    MST PCI configuration module loaded<br>PCI devices:<br>------------<br>DEVICE_TYPE             MST                           PCI       RDMA            NET                       NUMA  <br>ConnectX4LX(rev:0)      /dev/mst/mt4117_pciconf0.1    01:00.1   mlx5_bond_0     net-bond0                 -1    <br><br>ConnectX4LX(rev:0)      /dev/mst/mt4117_pciconf0      01:00.0   mlx5_bond_0     net-bond0                 -1    <br></div>
</blockquote></div>