All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gage Eads <gage.eads@intel.com>
To: jerin.jacob@caviumnetworks.com
Cc: dev@dpdk.org, bruce.richardson@intel.com,
	harry.van.haaren@intel.com, hemant.agrawal@nxp.com,
	Gage Eads <gage.eads@intel.com>
Subject: [RFC PATCH] EventDev buffered enqueue API
Date: Fri,  2 Dec 2016 13:45:55 -0600	[thread overview]
Message-ID: <1480707956-17187-1-git-send-email-gage.eads@intel.com> (raw)

This patch extends the currently proposed libeventdev API with support
for buffered enqueue operations.

This functionality can improve application performance when using event
devices that benefit from bulk enqueue operations, but due to its
architecture the application cannot easily combine its enqueue
operations.

For instance, consider a network application that dequeues a burst of
events and then processes them individually, where each event may be
processed and enqueued in a different codepath depending on its layer-3
or layer-4 protocol type. To take advantage of burst enqueues with the
current eventdev API, the application would have to be modified with an
ad-hoc buffering solution.

This functionality can be achieved fairly simply in the eventdev itself,
and in doing so reduces the amount of boilerplate code repeated among
applications of the sort described.

This patch applies on top of Jerin Jacob's eventdev API patchset[1].

[1] http://dpdk.org/ml/archives/dev/2016-November/050355.html

Gage Eads (1):
  eventdev: add buffered enqueue and flush APIs

 lib/librte_eventdev/rte_eventdev.c |  29 ++++++++++
 lib/librte_eventdev/rte_eventdev.h | 106 +++++++++++++++++++++++++++++++++++++
 2 files changed, 135 insertions(+)

-- 
1.9.1

             reply	other threads:[~2016-12-02 19:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 19:45 Gage Eads [this message]
2016-12-02 19:45 ` [RFC PATCH] eventdev: add buffered enqueue and flush APIs Gage Eads
2016-12-02 21:18   ` Jerin Jacob
2016-12-05 23:30     ` Eads, Gage
2016-12-08  4:41       ` Jerin Jacob
2016-12-12 17:56         ` Eads, Gage
2016-12-14  7:44           ` Jerin Jacob
2016-12-14  7:52           ` Jerin Jacob

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=1480707956-17187-1-git-send-email-gage.eads@intel.com \
    --to=gage.eads@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=harry.van.haaren@intel.com \
    --cc=hemant.agrawal@nxp.com \
    --cc=jerin.jacob@caviumnetworks.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.