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

2024-02-22 Thread Akhil Goyal
> @@ -908,7 +907,11 @@ ipsec_enqueue(ipsec_xform_fn xform_func, struct > ipsec_ctx *ipsec_ctx, > continue; > } > > - enqueue_cop(sa->cqp[ipsec_ctx->lcore_id], &priv->cop); > + if (sa->cqp[ipsec_ctx->lcore_id]) > + enqu

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

2024-01-22 Thread Ji, Kai
Acked-by: Kai Ji From: Radu Nicolau Sent: 11 December 2023 09:53 To: Nicolau, Radu ; Akhil Goyal Cc: dev@dpdk.org ; Power, Ciara ; Ku, Ting-Kai ; sta...@dpdk.org ; vfia...@marvell.com Subject: [PATCH] examples/ipsec-secgw: fix cryptodev to SA mapping There

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

2024-01-22 Thread Power, Ciara
Hi Radu, > -Original Message- > From: Nicolau, Radu > Sent: Monday, December 11, 2023 9:54 AM > To: Nicolau, Radu ; Akhil Goyal > > Cc: dev@dpdk.org; Power, Ciara ; Ku, Ting-Kai kai...@intel.com>; sta...@dpdk.org; vfia...@marvell.com > Subject: [PATCH] e

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

2023-12-12 Thread Ku, Ting-Kai
>lcore_id); } } -- 2.25.1 -Original Message- From: Nicolau, Radu Sent: Monday, December 11, 2023 5:54 PM To: Nicolau, Radu ; Akhil Goyal Cc: dev@dpdk.org; Power, Ciara ; Ku, Ting-Kai ; sta...@dpdk.org; vfia...@marvell.com Subject: [PATCH] examples/ipsec-secgw: fix cryptod

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

2023-12-11 Thread Radu Nicolau
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 c