DPDK usage discussions
 help / color / mirror / Atom feed
From: animesh tripathi <anitrip.444@gmail.com>
To: users@dpdk.org
Subject: Mellaox nic binding to driver.
Date: Thu, 7 Oct 2021 10:48:55 +0530
Message-ID: <CAMH6JP87+FskGO0WAdgB4p80cj8-GsQA2FcoQB3Ge_Gtn7KqBA@mail.gmail.com> (raw)

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

             reply	other threads:[~2021-10-07  5:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-07  5:18 animesh tripathi [this message]
2021-10-07  7:31 ` Raslan Darawsheh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMH6JP87+FskGO0WAdgB4p80cj8-GsQA2FcoQB3Ge_Gtn7KqBA@mail.gmail.com \
    --to=anitrip.444@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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