Hi Sankalpa, Have you enabled SRIOV and switchdev mode correctly? Is there any error in demsg? Here is the regular steps: 1. enable sriov - new VF ports shown in `ip link` 2. unbind VFs - new VF ports disappear 3. enable switchdev mode - new representor ports shown in `ip link` 4. bind VFs again or passthrough to VM
Best Regards, Xueming > -----Original Message----- > From: users <users-boun...@dpdk.org> On Behalf Of Sankalpa Timilsina > Sent: Sunday, May 23, 2021 2:43 AM > To: users@dpdk.org > Subject: [dpdk-users] Unable to recognize master/representor on the multiple > IB devices > > Hi, I am getting a DPDK MLX5 probing issue. > > 1. I have installed the mlx5/ofed driver > 2. I have loaded the kernel modules. > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > EAL: Selected IOVA mode 'PA' > EAL: No available hugepages reported in hugepages-2048kB > EAL: Probing VFIO support... > EAL: Probe PCI driver: mlx5_pci (15b3:1013) device: 0000:5e:00.0 (socket 0) > mlx5_pci: unable to recognize master/representors on the multiple IB devices > common_mlx5: Failed to load driver = mlx5_pci. > > EAL: Requested device 0000:5e:00.0 cannot be used > EAL: Bus (pci) probe failed. > > As for the 'failing to load mlx5_pci' driver, I can see that the mlx5_core > driver is loaded. > > dpdk-devbind.py -s > > Network devices using kernel driver > =================================== > 0000:5e:00.0 'MT27700 Family [ConnectX-4]' if=enp94s0 drv=mlx5_core unused= > > What does failing to recognize master/representors on multiple IB devices > mean? > > My configuration is: CentOS 7.9, Linux Kernel 5.12, OFED 4.9 (LTS)