RE: [PATCH v2] crypto/ipsec_mb: fix jobs array used for burst

2023-07-05 Thread Akhil Goyal
> > Subject: [PATCH v2] crypto/ipsec_mb: fix jobs array used for burst > > > > The jobs variable was global, which meant it was not thread safe. > > This caused a segmentation fault when running the crypto performance app, > > using more than one lcore for crypto proc

RE: [PATCH v2] crypto/ipsec_mb: fix jobs array used for burst

2023-07-05 Thread De Lara Guarch, Pablo
> -Original Message- > From: Power, Ciara > Sent: Wednesday, July 5, 2023 11:26 AM > To: dev@dpdk.org > Cc: gak...@marvell.com; De Lara Guarch, Pablo > ; Power, Ciara ; > Cornu, Marcel D ; Ji, Kai > Subject: [PATCH v2] crypto/ipsec_mb: fix jobs array used

[PATCH v2] crypto/ipsec_mb: fix jobs array used for burst

2023-07-05 Thread Ciara Power
The jobs variable was global, which meant it was not thread safe. This caused a segmentation fault when running the crypto performance app, using more than one lcore for crypto processing. Moving this to the dequeue function where it is used fixes the issue. Fixes: b50b8b5b38f8 ("crypto/ipsec_mb: