numam-dpdk/lib/librte_ring
Feifei Wang 2d6ed071a8 ring: use custom element for fixed size API
Use rte_ring_xxx_elem_xxx APIs to replace legacy API implementation.
This reduces code duplication and improves code maintenance.

Tests done on Arm, x86 [1] and PPC [2] do not indicate performance
degradation.
[1] https://mails.dpdk.org/archives/dev/2020-July/173780.html
[2] https://mails.dpdk.org/archives/dev/2020-July/173863.html

Signed-off-by: Feifei Wang <feifei.wang2@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Ruifeng Wang <ruifeng.wang@arm.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Tested-by: David Christensen <drc@linux.vnet.ibm.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2020-07-09 17:22:36 +02:00
..
Makefile ring: introduce peek style API 2020-04-21 12:52:55 +02:00
meson.build ring: introduce peek style API 2020-04-21 12:52:55 +02:00
rte_ring_c11_mem.h ring/c11: relax ordering for load and store of the head 2018-11-13 17:00:58 +01:00
rte_ring_core.h ring: introduce HTS ring mode 2020-04-21 12:52:55 +02:00
rte_ring_elem.h ring: remove experimental flag from custom element API 2020-07-09 17:22:29 +02:00
rte_ring_generic.h ring: enforce reading tail before slots 2019-03-28 01:22:04 +01:00
rte_ring_hts_c11_mem.h ring: introduce HTS ring mode 2020-04-21 12:52:55 +02:00
rte_ring_hts.h ring: cleanup coding style 2020-07-01 11:46:09 +02:00
rte_ring_peek_c11_mem.h ring: fix tail in peek API for ST mode 2020-07-01 10:41:19 +02:00
rte_ring_peek.h ring: fix build for gcc O1 optimization 2020-05-11 19:20:54 +02:00
rte_ring_rts_c11_mem.h ring: introduce RTS ring mode 2020-04-21 12:52:55 +02:00
rte_ring_rts.h ring: cleanup coding style 2020-07-01 11:46:09 +02:00
rte_ring_version.map ring: remove experimental flag from custom element API 2020-07-09 17:22:29 +02:00
rte_ring.c ring: cleanup coding style 2020-07-01 11:46:09 +02:00
rte_ring.h ring: use custom element for fixed size API 2020-07-09 17:22:36 +02:00