Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix coherency of ESP sequence number

2019-04-08 Thread Yongseok Koh
On Mon, Apr 08, 2019 at 10:41:29AM +, Ananyev, Konstantin wrote: > > Hi Yongseok, > > > Outbound ESP sequence number should be incremented atomically and refeenced > > indirectly. Otherwise, concurrent access by multiple threads will break > > coherency. > > I think MT mode per SA is not sup

Re: [dpdk-dev] [PATCH] examples/ipsec-secgw: fix coherency of ESP sequence number

2019-04-08 Thread Ananyev, Konstantin
Hi Yongseok, > Outbound ESP sequence number should be incremented atomically and refeenced > indirectly. Otherwise, concurrent access by multiple threads will break > coherency. I think MT mode per SA is not supported right now by ipsec-secgw. >From https://doc.dpdk.org/guides/sample_app_ug/ips

[dpdk-dev] [PATCH] examples/ipsec-secgw: fix coherency of ESP sequence number

2019-04-05 Thread Yongseok Koh
Outbound ESP sequence number should be incremented atomically and refeenced indirectly. Otherwise, concurrent access by multiple threads will break coherency. Fixes: d299106e8e31 ("examples/ipsec-secgw: add IPsec sample application") Fixes: 906257e965b7 ("examples/ipsec-secgw: support IPv6") Fixes