Hi,

> -----Original Message-----
> From: animesh tripathi <anitrip....@gmail.com>
> Sent: Thursday, October 7, 2021 8:19 AM
> To: users@dpdk.org
> Subject: Mellaox nic binding to driver.
> 
> Hi Team,
> 
> Do I need to bind the mellanox nic to any driver to use it with dpdk. In case 
> of
> intel, I am binding the pcie with igb_uio driver
For Mellanox NIC's you don't need to bind them to igb_uio,
need to keep them bounded to their original kernel driver mlx5_core.
> 
> In case of mellanox nic, if I am binding the mellanox nic to igb_io, I am 
> getting
> the following error:
> 
> EAL: Detected 24 lcore(s)
> EAL: Detected 1 NUMA nodes
> EAL: Auto-detected process type: PRIMARY
> EAL: Detected static linkage of DPDK
> EAL: Multi-process socket /var/run/dpdk/nr_dpdk/mp_socket
> EAL: Selected IOVA mode 'PA'
> EAL: VFIO support initialized
> EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:b5:00.0 (socket 0)
> mlx5_net: no Verbs device matches PCI device 0000:b5:00.0, are kernel
> drivers loaded?
> mlx5_common: Failed to load driver mlx5_eth
> EAL: Requested device 0000:b5:00.0 cannot be used
> EAL: Probe PCI driver: mlx5_pci (15b3:101d) device: 0000:b5:00.1 (socket 0)
> mlx5_net: no Verbs device matches PCI device 0000:b5:00.1, are kernel
> drivers loaded?
> mlx5_common: Failed to load driver mlx5_eth
> EAL: Requested device 0000:b5:00.1 cannot be used
> TELEMETRY: No legacy callbacks, legacy socket not created No of ports : 0
> Calling DPDK-Init for PDCP
> 
> But when I do not bind the mellanox nic to any driver, it is working fine.
> 
> Please let me know if my approach is correct.
> 
> Thanks,
> Animesh Tripathi

Kindest regards
Raslan Darawsheh

Reply via email to