DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] examples/l3fwd: Eventdev mode support for packet I/O
@ 2019-09-06  8:04 Sunil Kumar Kori
  2019-09-06  8:04 ` [dpdk-dev] [PATCH] examples/l3fwd: add support for eventdev mode Sunil Kumar Kori
  0 siblings, 1 reply; 5+ messages in thread
From: Sunil Kumar Kori @ 2019-09-06  8:04 UTC (permalink / raw)
  Cc: dev, Sunil Kumar Kori

Patchset adds support for eventdev mode for packet enqueue/dequeue.

Following is the summary of newly added features:
1. Exposing new command line parameters.
 - mode: It dictates the mode of operation i.e. poll or eventdev.
 - eventq_sync: It dictates eventq synchronization method i.e.
                atomic or ordered. Currently only atomic and
                ordered methods are implemented.

2. Default application will be working into poll mode.
3. All the eventdev resources are initialized with default values.
        no configuration are exposed to the user.

        Following is the summary of default configuration:
         - Single instance of eventdev supported.
         - Number of event ports are equal to number of worker thread.
         - Number of event queue are equal number of ethernet ports.
         - Each event port is linked to all existing event queues.
         - Dedicated Rx adapter for each Ethernet port and all Ethernet
                port Rx queues are added to respective Rx adapter.
         - Dedicated Tx adapter for each Ethernet port and all Ethernet
                port Rx queues are added to respective Rx adapter.

Sunil Kumar Kori (1):
  examples/l3fwd: add support for eventdev mode

 examples/l3fwd/Makefile         |   2 +-
 examples/l3fwd/l3fwd.h          |  21 +-
 examples/l3fwd/l3fwd_common.h   |  10 +
 examples/l3fwd/l3fwd_em.c       |  69 +++++
 examples/l3fwd/l3fwd_eventdev.c | 593 ++++++++++++++++++++++++++++++++++++++++
 examples/l3fwd/l3fwd_eventdev.h |  85 ++++++
 examples/l3fwd/l3fwd_lpm.c      |  71 +++++
 examples/l3fwd/main.c           |  46 +++-
 8 files changed, 887 insertions(+), 10 deletions(-)
 create mode 100644 examples/l3fwd/l3fwd_eventdev.c
 create mode 100644 examples/l3fwd/l3fwd_eventdev.h

-- 
1.8.3.1


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

end of thread, other threads:[~2019-09-06 16:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-06  8:04 [dpdk-dev] [PATCH] examples/l3fwd: Eventdev mode support for packet I/O Sunil Kumar Kori
2019-09-06  8:04 ` [dpdk-dev] [PATCH] examples/l3fwd: add support for eventdev mode Sunil Kumar Kori
2019-09-06  8:26   ` Akhil Goyal
2019-09-06  8:45   ` Sunil Kumar Kori
2019-09-06 16:27   ` Aaron Conole

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