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

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

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

* Re: [dpdk-users] Help needed to interface to new device
  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
  0 siblings, 1 reply; 5+ messages in thread
From: David Marchand @ 2021-03-24 12:00 UTC (permalink / raw)
  To: David Aldrich; +Cc: users, Rosen Xu, Qi Zhang

On Wed, Mar 24, 2021 at 12:42 PM David Aldrich
<david.aldrich.ntml@gmail.com> wrote:
> 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:

If you are talking about a XX710/N3000 device, I think its support was
added in 19.05.
No 18.11 driver supports this nic, you can probably have a try with
the next LTS release 19.11, or the latest LTS which is 20.11.


-- 
David Marchand


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

* Re: [dpdk-users] Help needed to interface to new device
  2021-03-24 12:00 ` David Marchand
@ 2021-03-24 12:27   ` David Aldrich
  2021-03-24 16:19     ` David Marchand
  0 siblings, 1 reply; 5+ messages in thread
From: David Aldrich @ 2021-03-24 12:27 UTC (permalink / raw)
  To: David Marchand; +Cc: users, Rosen Xu, Qi Zhang

> If you are talking about a XX710/N3000 device, I think its support was
> added in 19.05.
> No 18.11 driver supports this nic, you can probably have a try with
> the next LTS release 19.11, or the latest LTS which is 20.11.

Thanks for your reply. Yes, I am talking about the Intel N3000 FPGA
accelerator card. Forgive my ignorance, does that imply a XX710 device?

I rebuilt using DPDK v 19.11.7 but got the same result: i.e.
rte_eth_dev_count_avail() returns 0.

I can try using DPDK 20.11 but that will take a little while as I need to
adjust to the new meson build environment.

Would that be a good next move?

David

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

* Re: [dpdk-users] Help needed to interface to new device
  2021-03-24 12:27   ` David Aldrich
@ 2021-03-24 16:19     ` David Marchand
  2021-03-24 16:41       ` David Aldrich
  0 siblings, 1 reply; 5+ messages in thread
From: David Marchand @ 2021-03-24 16:19 UTC (permalink / raw)
  To: David Aldrich; +Cc: users, Rosen Xu, Qi Zhang

On Wed, Mar 24, 2021 at 1:27 PM David Aldrich
<david.aldrich.ntml@gmail.com> wrote:
> > If you are talking about a XX710/N3000 device, I think its support was
> > added in 19.05.
> > No 18.11 driver supports this nic, you can probably have a try with
> > the next LTS release 19.11, or the latest LTS which is 20.11.
>
> Thanks for your reply. Yes, I am talking about the Intel N3000 FPGA accelerator card. Forgive my ignorance, does that imply a XX710 device?
>
> I rebuilt using DPDK v 19.11.7 but got the same result: i.e. rte_eth_dev_count_avail() returns 0.
>
> I can try using DPDK 20.11 but that will take a little while as I need to adjust to the new meson build environment.

Surprised this does not work with v19.11.
I'll let Intel developers/maintainers sort this out.


-- 
David Marchand


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

* Re: [dpdk-users] Help needed to interface to new device
  2021-03-24 16:19     ` David Marchand
@ 2021-03-24 16:41       ` David Aldrich
  0 siblings, 0 replies; 5+ messages in thread
From: David Aldrich @ 2021-03-24 16:41 UTC (permalink / raw)
  To: David Marchand; +Cc: users, Rosen Xu, Qi Zhang

> >Surprised this does not work with v19.11.
> >I'll let Intel developers/maintainers sort this out
>

Thanks. I've also posted a form of my question on StackOverflow:

How to use DPDK IPN3KE Poll Mode Driver? - Stack Overflow
<https://stackoverflow.com/questions/66784432/how-to-use-dpdk-ipn3ke-poll-mode-driver>

if anyone is able to help.

Best regards
David

^ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).