[dpdk-dev] [PATCH] add l2fwd-event application

Sunil Kumar Kori skori at marvell.com
Fri Sep 6 10:20:20 CEST 2019


Patchset adds a new application to demonstrate usage of poll
and eventdev mode. 

Following is the summary of newly added features:
1. Exposing following 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. By default, application will be working into eventdev 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/l2fwd-event: add l2fwd with eventdev mode

 examples/Makefile                     |   1 +
 examples/l2fwd-event/Makefile         |  57 +++
 examples/l2fwd-event/l2fwd_common.h   |  46 ++
 examples/l2fwd-event/l2fwd_eventdev.c | 686 ++++++++++++++++++++++++++++++
 examples/l2fwd-event/l2fwd_eventdev.h |  82 ++++
 examples/l2fwd-event/main.c           | 771 ++++++++++++++++++++++++++++++++++
 examples/l2fwd-event/meson.build      |  12 +
 7 files changed, 1655 insertions(+)
 create mode 100644 examples/l2fwd-event/Makefile
 create mode 100644 examples/l2fwd-event/l2fwd_common.h
 create mode 100644 examples/l2fwd-event/l2fwd_eventdev.c
 create mode 100644 examples/l2fwd-event/l2fwd_eventdev.h
 create mode 100644 examples/l2fwd-event/main.c
 create mode 100644 examples/l2fwd-event/meson.build

-- 
1.8.3.1



More information about the dev mailing list