stack: enable lock-free implementation for aarch64
authorPhil Yang <phil.yang@arm.com>
Fri, 18 Oct 2019 11:21:30 +0000 (19:21 +0800)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 21 Oct 2019 08:15:57 +0000 (10:15 +0200)
commit7911ba0473e023d6177a7dfa6f4e2a18031c68ff
tree0f2b6dfb31cc6d832a5d4f548c8b63d4f6fab57c
parentfa3253c534b17ec9ef59f2bcbfeb51f01d0c1d96
stack: enable lock-free implementation for aarch64

Enable both C11 atomic and non C11 atomic lock-free stack for aarch64.

Introduced a new header to reduce the ifdef clutter across generic and C11
files. The rte_stack_lf_stubs.h contains stub implementations of
__rte_stack_lf_count, __rte_stack_lf_push_elems and
__rte_stack_lf_pop_elems.

Suggested-by: Gage Eads <gage.eads@intel.com>
Suggested-by: Jerin Jacob <jerinj@marvell.com>
Signed-off-by: Phil Yang <phil.yang@arm.com>
Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tested-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
doc/guides/prog_guide/env_abstraction_layer.rst
doc/guides/rel_notes/release_19_11.rst
lib/librte_stack/Makefile
lib/librte_stack/rte_stack_lf.h
lib/librte_stack/rte_stack_lf_c11.h
lib/librte_stack/rte_stack_lf_generic.h
lib/librte_stack/rte_stack_lf_stubs.h [new file with mode: 0644]