> -----Original Message-----
> From: Power, Ciara <[email protected]>
> Sent: Thursday, November 23, 2023 5:07 PM
> To: [email protected]
> Cc: [email protected]; Ji, Kai <[email protected]>; De Lara Guarch, Pablo
> <[email protected]>; Power, Ciara <[email protected]>;
> [email protected]
> 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: [email protected]
> 
> Signed-off-by: Ciara Power <[email protected]>

Acked-by: Pablo de Lara <[email protected]"

Reply via email to