22/01/2018 17:56, Stephen Hemminger: > On Mon, 22 Jan 2018 00:50:55 +0100 > Thomas Monjalon <tho...@monjalon.net> wrote: > > > 21/01/2018 20:25, Ferruh Yigit: > > > On 1/21/2018 6:59 PM, Ferruh Yigit wrote: > > > > From: Stephen Hemminger <step...@networkplumber.org> > > > > > > > > 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> > > > > Reviewed-by: Ferruh Yigit <ferruh.yi...@intel.com> > > > Series applied to dpdk-next-net/master, thanks. > > > > I need to drop this series when pulling in master, > > because PPC is not supported. > > > > Chao, please could you help on this feature? > > Thanks > > The generic code should work for PPC.
No, the generic code is inside #ifdef RTE_FORCE_INTRINSICS. PPC does not define RTE_FORCE_INTRINSICS, and ARM could disable it I guess.