Re: [dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait scheme

2021-10-13 Thread Stephen Hemminger
On Wed, 13 Oct 2021 15:03:56 + "Ananyev, Konstantin" wrote: > > addr value' can be before other operations. > > > > > BTW, if we expect memorder to always be a constant, might be better > > > BUILD_BUG_ON()? > > If I understand correctly, you means we can replace 'assert' by > > 'build_

Re: [dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait scheme

2021-10-13 Thread Ananyev, Konstantin
> > [snip] > > > > diff --git a/lib/eal/include/generic/rte_pause.h > > > b/lib/eal/include/generic/rte_pause.h > > > index 668ee4a184..4e32107eca 100644 > > > --- a/lib/eal/include/generic/rte_pause.h > > > +++ b/lib/eal/include/generic/rte_pause.h > > > @@ -111,6 +111,84 @@ rte_wait_until_equal

Re: [dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait scheme

2021-10-07 Thread Ananyev, Konstantin
> Introduce macros as generic interface for address monitoring. > > Signed-off-by: Feifei Wang > Reviewed-by: Ruifeng Wang > --- > lib/eal/arm/include/rte_pause_64.h | 151 ++-- > lib/eal/include/generic/rte_pause.h | 78 ++ > 2 files changed, 175 inserti

[dpdk-dev] [RFC PATCH v3 1/5] eal: add new definitions for wait scheme

2021-09-25 Thread Feifei Wang
Introduce macros as generic interface for address monitoring. Signed-off-by: Feifei Wang Reviewed-by: Ruifeng Wang --- lib/eal/arm/include/rte_pause_64.h | 151 ++-- lib/eal/include/generic/rte_pause.h | 78 ++ 2 files changed, 175 insertions(+), 54 deletio