[dpdk-dev] [PATCH v3 7/9] ipsec: rework SA replay window/SQN for MT environment
Doherty, Declan
declan.doherty at intel.com
Thu Dec 13 13:14:16 CET 2018
On 06/12/2018 3:38 PM, Konstantin Ananyev wrote:
> With these changes functions:
> - rte_ipsec_pkt_crypto_prepare
> - rte_ipsec_pkt_process
> can be safely used in MT environment, as long as the user can guarantee
> that they obey multiple readers/single writer model for SQN+replay_window
> operations.
> To be more specific:
> for outbound SA there are no restrictions.
> for inbound SA the caller has to guarantee that at any given moment
> only one thread is executing rte_ipsec_pkt_process() for given SA.
> Note that it is caller responsibility to maintain correct order
> of packets to be processed.
>
> Signed-off-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
> ---
...
>
Acked-by: Declan Doherty <declan.doherty at intel.com>
More information about the dev
mailing list