DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Help needed to interface to new device
@ 2021-03-24 11:42 David Aldrich
  2021-03-24 12:00 ` David Marchand
  0 siblings, 1 reply; 5+ messages in thread
From: David Aldrich @ 2021-03-24 11:42 UTC (permalink / raw)
  To: users


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

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

end of thread, other threads:[~2021-03-24 16:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 11:42 [dpdk-users] Help needed to interface to new device David Aldrich
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

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 \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

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