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

Ji, Kai kai.ji at intel.com
Mon Jan 22 14:52:03 CET 2024


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


________________________________
From: Radu Nicolau <radu.nicolau at intel.com>
Sent: 11 December 2023 09:53
To: Nicolau, Radu <radu.nicolau at intel.com>; Akhil Goyal <gakhil at marvell.com>
Cc: dev at dpdk.org <dev at dpdk.org>; Power, Ciara <ciara.power at intel.com>; Ku, Ting-Kai <ting-kai.ku at intel.com>; stable at dpdk.org <stable at dpdk.org>; vfialko at marvell.com <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>
---

--
2.25.1

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/stable/attachments/20240122/cbf369e6/attachment.htm>


More information about the stable mailing list