<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">
<div class="elementToProof"><span style="font-family: "IntelOne Text"; font-size: 10pt; color: rgb(0, 0, 0);">Acked-by: Kai Ji <kai.ji@intel.com></span></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> Power, Ciara <ciara.power@intel.com><br>
<b>Sent:</b> 23 November 2023 17:07<br>
<b>To:</b> dev@dpdk.org <dev@dpdk.org><br>
<b>Cc:</b> thomas@monjalon.net <thomas@monjalon.net>; Ji, Kai <kai.ji@intel.com>; De Lara Guarch, Pablo <pablo.de.lara.guarch@intel.com>; Power, Ciara <ciara.power@intel.com>; stable@dpdk.org <stable@dpdk.org><br>
<b>Subject:</b> [PATCH] crypto/ipsec_mb: fix getting process ID per job</span>
<div> </div>
</div>
<div><span style="font-size: 11pt;">Currently, when using IPsec-mb 1.4+, the process ID is obtained for each<br>
job in a burst with a call to getpid().<br>
This system call uses too many CPU cycles, and is unnecessary per job.<br>
<br>
Instead, set the process ID value per lcore.<br>
This is read when processing the burst, instead of per job.<br>
<br>
Fixes: 9593d83e5d88 ("crypto/ipsec_mb: fix aesni_mb multi-process session ID")<br>
Cc: stable@dpdk.org<br>
<br>
Signed-off-by: Ciara Power <ciara.power@intel.com><br>
---<br>
<br>
--<br>
2.25.1<br>
<br>
</span></div>
</body>
</html>