ring: move code in a new header file
authorJia He <jia.he@hxt-semitech.com>
Mon, 22 Jan 2018 04:41:27 +0000 (20:41 -0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jan 2018 15:04:43 +0000 (16:04 +0100)
commitc9fb3c62896f4f918ab99b2e1ed2f6eff387c507
tree5f3f531711f4acdfe8d37205a743989bbaed9ec0
parent59a3cae5305816b3739b4197d277f9455af53b9f
ring: move code in a new header file

Move the common part of rte_ring.h into rte_ring_generic.h.
Move the memory barrier part into update_tail().

No functional changes here.

Suggested-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Suggested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Signed-off-by: Jia He <jia.he@hxt-semitech.com>
Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
lib/librte_eventdev/rte_event_ring.h
lib/librte_ring/Makefile
lib/librte_ring/rte_ring.h
lib/librte_ring/rte_ring_generic.h [new file with mode: 0644]