Hi Parvein, Can you kindly confirm that the kernel drivers (mlx5_ib, mlx5_core) are loaded? (lsmod | grep mlx5_)
If not please try to restart the kernel driver: /etc/init.d/openibd force-restart Kindest regards, Raslan Darawsheh > -----Original Message----- > From: users <users-boun...@dpdk.org> On Behalf Of Pravein GK > Sent: Thursday, January 28, 2021 7:49 AM > To: users@dpdk.org > Subject: [dpdk-users] common_mlx5: Failed to load driver = net_mlx5 Error > > Hello All, > > I am using DPDK 20.08 with Mellanox Connect X 5 NICs. > I have installed the latest OFED drivers with "--dpdk --upstream-libs". > However, while launching a dpdk application, I get the below error : > > EAL: Detected 24 lcore(s) > > EAL: Detected 2 NUMA nodes > > EAL: Multi-process socket /var/run/dpdk/rte/mp_socket > > EAL: Selected IOVA mode 'PA' > > EAL: No available hugepages reported in hugepages-1048576kB > > EAL: Probing VFIO support... > > EAL: Invalid NUMA socket, default to 0 > > > > > > *EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:1f:00.0 (socket > > 0)net_mlx5: no Verbs device matches PCI device 0000:1f:00.0, are kernel > > drivers loaded?common_mlx5: Failed to load driver = net_mlx5.* > > EAL: Requested device 0000:1f:00.0 cannot be used > > EAL: Invalid NUMA socket, default to 0 > > > > > > *EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:1f:00.1 (socket > > 0)net_mlx5: no Verbs device matches PCI device 0000:1f:00.1, are kernel > > drivers loaded?common_mlx5: Failed to load driver = net_mlx5.* > > EAL: Requested device 0000:1f:00.1 cannot be used > > EAL: No legacy callbacks, legacy socket not created > > EAL: Error - exiting with code: 1 > > Cause: Cannot create mbuf pool , error=Invalid argument > > > I am stuck with this error, and unable to proceed for a long time despite > trying most of the things suggested in forums. Please help. > > Thanks, > Pravein