crypto/ipsec_mb: support multi-process
authorCiara Power <ciara.power@intel.com>
Fri, 15 Oct 2021 14:39:45 +0000 (14:39 +0000)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 20 Oct 2021 10:06:01 +0000 (12:06 +0200)
commit72a169278a56afce6fd8b731234e7b2a2b7c76c5
tree9b1688b6b86a1fbdf419f70398ccf4d0d700f2d6
parentc75542ae42000062b55cb03643575cd13b66aeaf
crypto/ipsec_mb: support multi-process

The ipsec_mb SW PMD now has multiprocess support.
The queue-pair IMB_MGR is stored in a memzone instead of being allocated
externally by the Intel IPSec MB library, when v1.1 is used.
If v1.0 is used, multi process is not supported, and allocation is
done as before.
The secondary process needs to reconfigure the queue-pair to allow for
IMB_MGR function pointers be updated.

Intel IPsec MB library version 1.1 is required for this support.

Signed-off-by: Ciara Power <ciara.power@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
doc/guides/rel_notes/release_21_11.rst
drivers/crypto/ipsec_mb/ipsec_mb_ops.c
drivers/crypto/ipsec_mb/ipsec_mb_private.h