Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-04-01 Thread Eads, Gage
> -Original Message- > From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@arm.com] > Sent: Monday, April 1, 2019 2:07 PM > To: Eads, Gage ; 'dev@dpdk.org' > Cc: 'olivier.m...@6wind.com' ; > 'arybche...@solarflare.com' ; Richardson, > Bruce ; Ananyev, Konstantin > ; Gavin Hu (Arm Te

Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-04-01 Thread Honnappa Nagarahalli
> > Subject: RE: [PATCH v3 6/8] stack: add C11 atomic implementation > > > > [snip] > > > > > > +static __rte_always_inline void > > > > +__rte_stack_lf_push(struct rte_stack_lf_list *list, > > > > + struct rte_stack_lf_elem *first, > > > > + struct rte_stack_lf_

Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-03-31 Thread Eads, Gage
> -Original Message- > From: Eads, Gage > Sent: Friday, March 29, 2019 2:25 PM > To: Honnappa Nagarahalli ; > dev@dpdk.org > Cc: olivier.m...@6wind.com; arybche...@solarflare.com; Richardson, Bruce > ; Ananyev, Konstantin > ; Gavin Hu (Arm Technology China) > ; nd ; tho...@monjalon.net;

Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-03-29 Thread Eads, Gage
[snip] > > +static __rte_always_inline void > > +__rte_stack_lf_push(struct rte_stack_lf_list *list, > > + struct rte_stack_lf_elem *first, > > + struct rte_stack_lf_elem *last, > > + unsigned int num) > > +{ > > +#ifndef RTE_ARCH_X86_64 > > + RTE_SET_US

Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-03-28 Thread Honnappa Nagarahalli
> > This commit adds an implementation of the lock-free stack push, pop, and > length functions that use __atomic builtins, for systems that benefit from the > finer-grained memory ordering control. > > Signed-off-by: Gage Eads > --- > lib/librte_stack/Makefile| 3 +- > lib/librte

Re: [dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-03-14 Thread Olivier Matz
On Wed, Mar 06, 2019 at 08:45:57AM -0600, Gage Eads wrote: > This commit adds an implementation of the lock-free stack push, pop, and > length functions that use __atomic builtins, for systems that benefit from > the finer-grained memory ordering control. > > Signed-off-by: Gage Eads Reviewed-by

[dpdk-dev] [PATCH v3 6/8] stack: add C11 atomic implementation

2019-03-06 Thread Gage Eads
This commit adds an implementation of the lock-free stack push, pop, and length functions that use __atomic builtins, for systems that benefit from the finer-grained memory ordering control. Signed-off-by: Gage Eads --- lib/librte_stack/Makefile| 3 +- lib/librte_stack/meson.build