DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [RFC] queue: introduce queue APIs and driver framework
@ 2018-06-27 16:06 Honnappa Nagarahalli
  2018-06-27 16:06 ` Honnappa Nagarahalli
  2018-06-27 16:19 ` Jerin Jacob
  0 siblings, 2 replies; 6+ messages in thread
From: Honnappa Nagarahalli @ 2018-06-27 16:06 UTC (permalink / raw)
  To: dev; +Cc: honnappa.nagarahalli, gavin.hu, nd

DPDK offers pipeline model of packet processing. One of the key
components of this model is the core to core packet exchange.
rte_ring and rte_event_ring functions are 2 methods provided
currently for core to core communication. However, these two
do not separate the APIs from implementation. This does not
allow using hardware queue implementations in pipeline model.
This change adds queue APIs and driver framework so that
HW queues can be used for core to core communication in
pipeline model.
When different implementations (ex: HW queues and rte_ring) are used
for the same object in different platforms, it is important to
make sure that the application is portable. Hence features of
different implementations must be elevated to the API level, so that
the application writers can make the right choice.
Currently, basic APIs are created, will add more required APIs
as this progresses.

Honnappa Nagarahalli (1):
  queue: introduce queue APIs and driver framework

 lib/librte_queue/rte_queue.c        | 122 ++++++++++++++++++++++
 lib/librte_queue/rte_queue.h        | 200 ++++++++++++++++++++++++++++++++++++
 lib/librte_queue/rte_queue_driver.h | 157 ++++++++++++++++++++++++++++
 3 files changed, 479 insertions(+)
 create mode 100644 lib/librte_queue/rte_queue.c
 create mode 100644 lib/librte_queue/rte_queue.h
 create mode 100644 lib/librte_queue/rte_queue_driver.h

-- 
2.7.4

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

end of thread, other threads:[~2018-07-16  2:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-27 16:06 [dpdk-dev] [RFC] queue: introduce queue APIs and driver framework Honnappa Nagarahalli
2018-06-27 16:06 ` Honnappa Nagarahalli
2018-06-27 16:19 ` Jerin Jacob
2018-07-11  2:02   ` Honnappa Nagarahalli
2018-07-11  6:51     ` Jerin Jacob
2018-07-16  2:51       ` Honnappa Nagarahalli

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