Re: [dpdk-dev] [PATCH v5 5/8] stack: add lock-free stack implementation

2019-04-01 Thread Honnappa Nagarahalli
> Subject: [PATCH v5 5/8] stack: add lock-free stack implementation > > This commit adds support for a lock-free (linked list based) stack to the > stack > API. This behavior is selected through a new rte_stack_create() flag, > RTE_STACK_F_LF. > > The stack consists of a linked list of elements,

[dpdk-dev] [PATCH v5 5/8] stack: add lock-free stack implementation

2019-03-31 Thread Gage Eads
This commit adds support for a lock-free (linked list based) stack to the stack API. This behavior is selected through a new rte_stack_create() flag, RTE_STACK_F_LF. The stack consists of a linked list of elements, each containing a data pointer and a next pointer, and an atomic stack depth counte