> -----Original Message-----
> From: Power, Ciara <ciara.po...@intel.com>
> Sent: Thursday, November 23, 2023 5:07 PM
> To: dev@dpdk.org
> Cc: tho...@monjalon.net; Ji, Kai <kai...@intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.gua...@intel.com>; Power, Ciara <ciara.po...@intel.com>;
> sta...@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: sta...@dpdk.org
> 
> Signed-off-by: Ciara Power <ciara.po...@intel.com>

Acked-by: Pablo de Lara <pablo.de.lara.gua...@intel.com"

Reply via email to