<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<span style="font-family: "IntelOne Text"; font-size: 10pt; color: rgb(0, 0, 0);">Acked-by: Kai Ji <kai.ji@intel.com></span>
<div style="font-family: "IntelOne Text"; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<div style="font-family: "IntelOne Text"; font-size: 10pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> Radu Nicolau <radu.nicolau@intel.com><br>
<b>Sent:</b> 11 December 2023 09:53<br>
<b>To:</b> Nicolau, Radu <radu.nicolau@intel.com>; Akhil Goyal <gakhil@marvell.com><br>
<b>Cc:</b> 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><br>
<b>Subject:</b> [PATCH] examples/ipsec-secgw: fix cryptodev to SA mapping</span>
<div> </div>
</div>
<div><span style="font-size: 11pt;" class="elementToProof">There are use cases where a SA should be able to use different cryptodevs on<br>
different lcores, for example there can be cryptodevs with just 1 qp per VF.<br>
For this purpose this patch relaxes the check in create lookaside session function.<br>
Also add a check to verify that a CQP is available for the current lcore.<br>
<br>
Fixes: a8ade12123c3 ("examples/ipsec-secgw: create lookaside sessions at init")<br>
Cc: stable@dpdk.org<br>
Cc: vfialko@marvell.com<br>
<br>
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com><br>
---<br>
 <br>
--<br>
2.25.1<br>
<br>
</span></div>
</body>
</html>