All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] EventDev buffered enqueue API
@ 2016-12-02 19:45 Gage Eads
  2016-12-02 19:45 ` [RFC PATCH] eventdev: add buffered enqueue and flush APIs Gage Eads
  0 siblings, 1 reply; 8+ messages in thread
From: Gage Eads @ 2016-12-02 19:45 UTC (permalink / raw)
  To: jerin.jacob
  Cc: dev, bruce.richardson, harry.van.haaren, hemant.agrawal, Gage Eads

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

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

end of thread, other threads:[~2016-12-14  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-02 19:45 [RFC PATCH] EventDev buffered enqueue API Gage Eads
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

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.