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

2020-05-09 Thread Akhil Goyal
> > > > 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 > > Reviewed-by: Ruifen

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

2020-04-24 Thread Ananyev, Konstantin
> > 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 > Reviewed-by: Ruifeng Wang > Review

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

2020-04-23 Thread Phil Yang
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 Reviewed-by: Ruifeng Wang Reviewed-by: Gavin Hu --