test/stack: check lock-free implementation
authorGage Eads <gage.eads@intel.com>
Wed, 3 Apr 2019 23:20:19 +0000 (18:20 -0500)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 4 Apr 2019 20:06:16 +0000 (22:06 +0200)
commit0420378bbfc4ff14261f5fa84f16ffe142048061
tree0cbcd6b1e37dc7d56c9dc04c06876f2af48cc5e2
parent7e6e609939a8d76bc5c0804d7cab91512dd607e4
test/stack: check lock-free implementation

This commit adds lock-free stack variants of stack_autotest
(stack_lf_autotest) and stack_perf_autotest (stack_lf_perf_autotest), which
differ only in that the lock-free versions pass the RTE_STACK_F_LF flag to
all rte_stack_create() calls.

Signed-off-by: Gage Eads <gage.eads@intel.com>
Reviewed-by: Olivier Matz <olivier.matz@6wind.com>
app/test/meson.build
app/test/test_stack.c
app/test/test_stack_perf.c