Acked-by: Kai Ji <kai.ji@intel.com>



From: Radu Nicolau <radu.nicolau@intel.com>
Sent: 11 December 2023 09:53
To: Nicolau, Radu <radu.nicolau@intel.com>; Akhil Goyal <gakhil@marvell.com>
Cc: dev@dpdk.org <dev@dpdk.org>; Power, Ciara <ciara.power@intel.com>; Ku, Ting-Kai <ting-kai.ku@intel.com>; stable@dpdk.org <stable@dpdk.org>; vfialko@marvell.com <vfialko@marvell.com>
Subject: [PATCH] examples/ipsec-secgw: fix cryptodev to SA mapping
 
There are use cases where a SA should be able to use different cryptodevs on
different lcores, for example there can be cryptodevs with just 1 qp per VF.
For this purpose this patch relaxes the check in create lookaside session function.
Also add a check to verify that a CQP is available for the current lcore.

Fixes: a8ade12123c3 ("examples/ipsec-secgw: create lookaside sessions at init")
Cc: stable@dpdk.org
Cc: vfialko@marvell.com

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
---
 
--
2.25.1