DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Is there any HW requirement for a NIC to use the eventdev API for implementing Rx/Tx?
@ 2018-06-11  2:02 Kevin Wilson
  2018-06-11  2:30 ` Jerin Jacob
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Wilson @ 2018-06-11  2:02 UTC (permalink / raw)
  To: dev, jerin.jacob

Hi,
According to what I understand from:
http://dpdk.org/doc/guides/eventdevs/index.html

only 3 drivers currently use the eventdev API,
NXP DPAA,NXP DPAA2 and Octeon SSOVF.

My question is: is there any HW requirements from a NIC
so that it will use the eventdev API for RX/TX instead
of the traditional polling mode used by all the other PMD drivers ?
Or theoretically and practically, one can implement DPDK driver using the
eventndev API for Rx/Tx for any NIC ?

Regards,
Kevin

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

* Re: [dpdk-dev] Is there any HW requirement for a NIC to use the eventdev API for implementing Rx/Tx?
  2018-06-11  2:02 [dpdk-dev] Is there any HW requirement for a NIC to use the eventdev API for implementing Rx/Tx? Kevin Wilson
@ 2018-06-11  2:30 ` Jerin Jacob
  0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob @ 2018-06-11  2:30 UTC (permalink / raw)
  To: Kevin Wilson; +Cc: dev

-----Original Message-----
> Date: Mon, 11 Jun 2018 05:02:01 +0300
> From: Kevin Wilson <wkevils@gmail.com>
> To: dev@dpdk.org, jerin.jacob@caviumnetworks.com
> Subject: Is there any HW requirement for a NIC to use the eventdev API for
>  implementing Rx/Tx?
> 
> Hi,
> According to what I understand from:
> http://dpdk.org/doc/guides/eventdevs/index.html
> 
> only 3 drivers currently use the eventdev API,
> NXP DPAA,NXP DPAA2 and Octeon SSOVF.

There are two more SW drivers too(implementing the same eventdev API).
http://dpdk.org/doc/guides/eventdevs/sw.html
http://dpdk.org/doc/guides/eventdevs/opdl.html

> 
> My question is: is there any HW requirements from a NIC
> so that it will use the eventdev API for RX/TX instead
> of the traditional polling mode used by all the other PMD drivers ?
> Or theoretically and practically, one can implement DPDK driver using the
> eventndev API for Rx/Tx for any NIC ?

No HW requirement. For the poll mode ONLY NICs, application can use SW event driver to
enable event mode. The NIC driver(ethdev) completely isolated from
eventdev. One can use eventdev -> ethdev RX adapter to take the events
from NICs and injects to eventdev. Based on the HW capability of
underneath eventdev and/or ethdev PMD, it can choose to do in HW or with
help of a service core, But the application interface is same irrespective
HW or SW or combination of two.

https://dpdk.org/doc/guides/prog_guide/event_ethernet_rx_adapter.html

/Jerin


> 
> Regards,
> Kevin

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

end of thread, other threads:[~2018-06-11  2:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-11  2:02 [dpdk-dev] Is there any HW requirement for a NIC to use the eventdev API for implementing Rx/Tx? Kevin Wilson
2018-06-11  2:30 ` Jerin Jacob

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).