[dpdk-dev] [PATCH v3] ipsec: optimize with c11 atomic for sa outbound sqn update

Akhil Goyal akhil.goyal at nxp.com
Sat May 9 23:51:17 CEST 2020


> >
> > For SA outbound packets, rte_atomic64_add_return is used to generate
> > SQN atomically. Use c11 atomics with RELAXED ordering for outbound SQN
> > update instead of rte_atomic ops which enforce unnecessary barriers on
> > aarch64.
> >
> > Signed-off-by: Phil Yang <phil.yang at arm.com>
> > Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>
> > Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> > ---
> 
> Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> 
Applied to dpdk-next-crypto

Thanks.



More information about the dev mailing list