DPDK usage discussions
 help / color / mirror / Atom feed
From: David Aldrich <david.aldrich.ntml@gmail.com>
To: users <users@dpdk.org>
Subject: [dpdk-users] Help needed to interface to new device
Date: Wed, 24 Mar 2021 11:42:18 +0000
Message-ID: <CAJK_iei2BbsuBmWxTR_m7+u8Nm9f=MJTwVyK5ECWoH-+ujOKMA@mail.gmail.com> (raw)

Hi

We currently use DPDK v.18.11.9 with a 10GBe NIC based on the Intel X722
chipset.  We bind to that device using the command:

usertools/dpdk-devbind.py -b igb_uio `lspci | grep X722 | awk '{print $1}'`

and it works ok.

Now we need to bind to a different NIC, which is part of an in-house FPGA
design (the NIC is 3rd party IP).

The new NIC is at 0d58 so we bind using:

usertools/dpdk-devbind.py -b igb_uio `lspci | grep 0d58 | awk '{print $1}'`

and we see:

dpdk-devbind.py --status Network devices using DPDK-compatible driver
============================================
0000:b3:00.0 'Device 0d58' drv=igb_uio unused=i40e
0000:b3:00.1 'Device 0d58' drv=igb_uio unused=i40e
0000:b5:00.0 'Device 0d58' drv=igb_uio unused=i40e
0000:b5:00.1 'Device 0d58' drv=igb_uio unused=i40e

But when we run our application, rte_eth_dev_count_avail() returns 0 so the
app fails.

I don't know how to debug this. Any suggestions please?

Best regards
David

             reply	other threads:[~2021-03-24 11:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-24 11:42 David Aldrich [this message]
2021-03-24 12:00 ` David Marchand
2021-03-24 12:27   ` David Aldrich
2021-03-24 16:19     ` David Marchand
2021-03-24 16:41       ` David Aldrich

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='CAJK_iei2BbsuBmWxTR_m7+u8Nm9f=MJTwVyK5ECWoH-+ujOKMA@mail.gmail.com' \
    --to=david.aldrich.ntml@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 https://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/ https://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