[PATCH] examples/ipsec-secgw: fix cryptodev to SA mapping

Power, Ciara ciara.power at intel.com
Mon Jan 22 14:21:53 CET 2024


Hi Radu,

> -----Original Message-----
> From: Nicolau, Radu <radu.nicolau at intel.com>
> Sent: Monday, December 11, 2023 9:54 AM
> To: Nicolau, Radu <radu.nicolau at intel.com>; Akhil Goyal
> <gakhil at marvell.com>
> Cc: dev at dpdk.org; Power, Ciara <ciara.power at intel.com>; Ku, Ting-Kai <ting-
> kai.ku at intel.com>; stable at dpdk.org; vfialko at 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 at dpdk.org
> Cc: vfialko at marvell.com
> 
> Signed-off-by: Radu Nicolau <radu.nicolau at intel.com>
> ---
>  examples/ipsec-secgw/ipsec.c | 13 ++++++++-----
>  1 file changed, 8 insertions(+), 5 deletions(-)

Acked-by: Ciara Power <ciara.power at intel.com>


More information about the stable mailing list