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

Thomas Monjalon thomas at monjalon.net
Fri Nov 24 10:55:39 CET 2023


> > 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>

Applied, thanks.





More information about the stable mailing list