> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Stephen Hemminger > Sent: Friday, January 26, 2018 2:02 AM > To: dev@dpdk.org > Cc: Stephen Hemminger <step...@networkplumber.org> > Subject: [dpdk-dev] [PATCH v8 01/15] eal: introduce atomic exchange operation > > To handle atomic update of link status (64 bit), every driver > was doing its own version using cmpset. > Atomic exchange is a useful primitive in its own right; > therefore make it a EAL routine. > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> > --- > .../common/include/arch/ppc_64/rte_atomic.h | 21 +++++- > .../common/include/arch/x86/rte_atomic.h | 24 +++++++ > .../common/include/arch/x86/rte_atomic_32.h | 12 ++++ > .../common/include/arch/x86/rte_atomic_64.h | 12 ++++ > lib/librte_eal/common/include/generic/rte_atomic.h | 78 > ++++++++++++++++++++++
Acked-by: Konstantin Ananyev <konstantin.anan...@intel.com>