Re: [dpdk-dev] [EXT] [PATCH v5 3/3] eal/stack: enable lock-free stack for aarch64
From: Jerin Jacob Kollanukkaran <hidden>
Date: 2019-07-22 14:15:10
-----Original Message----- From: Phil Yang <redacted> Sent: Monday, July 22, 2019 6:36 PM To: dev@dpdk.org Cc: thomas@monjalon.net; Jerin Jacob Kollanukkaran <redacted>; gage.eads@intel.com; hemant.agrawal@nxp.com; Honnappa.Nagarahalli@arm.com; gavin.hu@arm.com; nd@arm.com Subject: [EXT] [PATCH v5 3/3] eal/stack: enable lock-free stack for aarch64 Enable both c11 atomic and non c11 atomic lock-free stack for aarch64. Introduced a new header, rte_stack_lf_stubs.h, 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 <redacted> Suggested-by: Jerin Jacob <redacted> Signed-off-by: Phil Yang <redacted> Reviewed-by: Honnappa Nagarahalli <redacted> Tested-by: Honnappa Nagarahalli <redacted>
# Build issue with 32 bit build, Looks like new header file missing in SYMLINK-$(CONFIG_RTE_LIBRTE_STACK)-include
In file included from /home/jerin/dpdk.org/build/include/rte_stack.h:98,
from /home/jerin/dpdk.org/drivers/mempool/stack/rte_mempool_stack.c:7:
/home/jerin/dpdk.org/build/include/rte_stack_lf.h:9:10: fatal error: rte_stack_lf_stubs.h: No such file or directory
9 | #include "rte_stack_lf_stubs.h"
| ^~~~~~~~~~~~~~~~~~~~~~