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.anan...@intel.com>
---
...


Acked-by: Declan Doherty <declan.dohe...@intel.com>

Reply via email to