DPDK usage discussions
 help / color / mirror / Atom feed
* Mellaox nic binding to driver.
@ 2021-10-07  5:18 animesh tripathi
  2021-10-07  7:31 ` Raslan Darawsheh
  0 siblings, 1 reply; 2+ messages in thread
From: animesh tripathi @ 2021-10-07  5:18 UTC (permalink / raw)
  To: users

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.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: Mellaox nic binding to driver.
  2021-10-07  5:18 Mellaox nic binding to driver animesh tripathi
@ 2021-10-07  7:31 ` Raslan Darawsheh
  0 siblings, 0 replies; 2+ messages in thread
From: Raslan Darawsheh @ 2021-10-07  7:31 UTC (permalink / raw)
  To: animesh tripathi, users

Hi,

> -----Original Message-----
> From: animesh tripathi <anitrip.444@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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-07  7:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07  5:18 Mellaox nic binding to driver animesh tripathi
2021-10-07  7:31 ` Raslan Darawsheh

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git