eventdev: add ring structure for events
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Jun 2017 15:06:19 +0000 (16:06 +0100)
committerJerin Jacob <jerin.jacob@caviumnetworks.com>
Fri, 7 Jul 2017 07:29:39 +0000 (09:29 +0200)
commitdc39e2f359b555b95f2ed5b3d4ea5ac83f58da4e
tree923d729b59d21d58c4b6e05e20ad651879b143b3
parent1476c63ac2990b672c3e87ed865f5299619a1d4b
eventdev: add ring structure for events

Add in a new rte_event_ring structure type and functions to allow events to
be passed core to core. This is needed because the standard rte_ring type
only works on pointers, while for events, we want to copy the entire, 16B
events themselves - not just pointers to them. The code makes extensive use
of the functions already defined in rte_ring.h

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
lib/Makefile
lib/librte_eventdev/Makefile
lib/librte_eventdev/rte_event_ring.c [new file with mode: 0644]
lib/librte_eventdev/rte_event_ring.h [new file with mode: 0644]
lib/librte_eventdev/rte_eventdev_version.map