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

2020-04-23 Thread Phil Yang
; nd > Subject: Re: [dpdk-dev] [PATCH v2] ipsec: optimize with c11 atomic for sa > outbound sqn update > > On Thu, Apr 23, 2020 at 10:47 PM Phil Yang wrote: > > > > For SA outbound packets, rte_atomic64_add_return is used to generate > > SQN atomically. This intro

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

2020-04-23 Thread Phil Yang
> -Original Message- > From: Ananyev, Konstantin > Sent: Friday, April 24, 2020 2:11 AM > To: Phil Yang ; dev@dpdk.org > Cc: tho...@monjalon.net; Iremonger, Bernard > ; Medvedkin, Vladimir > ; Honnappa Nagarahalli > ; Gavin Hu ; > Ruifeng Wang ; nd > Subject: RE: [PATCH v2] ipsec: optimiz

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

2020-04-23 Thread Ananyev, Konstantin
> > For SA outbound packets, rte_atomic64_add_return is used to generate > SQN atomically. This introduced an unnecessary full barrier by calling > the '__sync' builtin implemented rte_atomic_XX API on aarch64. This > patch optimized it with c11 atomic and eliminated the expensive barrier > for aa

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

2020-04-23 Thread Jerin Jacob
On Thu, Apr 23, 2020 at 10:47 PM Phil Yang wrote: > > For SA outbound packets, rte_atomic64_add_return is used to generate > SQN atomically. This introduced an unnecessary full barrier by calling > the '__sync' builtin implemented rte_atomic_XX API on aarch64. This > patch optimized it with c11 at

[dpdk-dev] [PATCH v2] 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. This introduced an unnecessary full barrier by calling the '__sync' builtin implemented rte_atomic_XX API on aarch64. This patch optimized it with c11 atomic and eliminated the expensive barrier for aarch64. Signe