> -----Original Message-----
> From: dev [mailto:[email protected]] On Behalf Of Stephen Hemminger
> Sent: Friday, January 26, 2018 2:02 AM
> To: [email protected]
> Cc: Stephen Hemminger <[email protected]>
> 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 <[email protected]>
> ---
>  .../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 <[email protected]>

Reply via email to