DPDK patches and discussions
 help / color / mirror / Atom feed
From: Sunil Kumar Kori <skori@marvell.com>
Cc: <dev@dpdk.org>, Sunil Kumar Kori <skori@marvell.com>
Subject: [dpdk-dev] [PATCH] examples/l3fwd: Eventdev mode support for packet I/O
Date: Fri, 6 Sep 2019 13:34:27 +0530	[thread overview]
Message-ID: <1567757068-7099-1-git-send-email-skori@marvell.com> (raw)

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


             reply	other threads:[~2019-09-06  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06  8:04 Sunil Kumar Kori [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1567757068-7099-1-git-send-email-skori@marvell.com \
    --to=skori@marvell.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).