[PATCH] crypto/ipsec_mb: fix getting process ID per job

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Thu Nov 23 18:10:52 CET 2023



> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> Sent: Thursday, November 23, 2023 5:07 PM
> To: dev at dpdk.org
> Cc: thomas at monjalon.net; Ji, Kai <kai.ji at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>; Power, Ciara <ciara.power at intel.com>;
> stable at dpdk.org
> Subject: [PATCH] crypto/ipsec_mb: fix getting process ID per job
> 
> Currently, when using IPsec-mb 1.4+, the process ID is obtained for each job in
> a burst with a call to getpid().
> This system call uses too many CPU cycles, and is unnecessary per job.
> 
> Instead, set the process ID value per lcore.
> This is read when processing the burst, instead of per job.
> 
> Fixes: 9593d83e5d88 ("crypto/ipsec_mb: fix aesni_mb multi-process session
> ID")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.guarch at intel.com"


More information about the stable mailing list