RE: [PATCH] crypto/qat: fix docsis segmentation fault

2022-06-29 Thread Zhang, Roy Fan
> -Original Message- > From: Troy, Rebecca > Sent: Monday, June 27, 2022 5:44 PM > To: Zhang, Roy Fan ; Kusztal, ArkadiuszX > ; Trahe, Fiona ; Tomasz > Jozwiak > Cc: dev@dpdk.org; Troy, Rebecca ; sta...@dpdk.org > Subject: [PATCH] crypto/qat: fix docsis segmentation fault > > Currently i

Re: [PATCH] crypto/qat: fix docsis segmentation fault

2022-06-28 Thread David Marchand
On Tue, Jun 28, 2022 at 12:32 PM Troy, Rebecca wrote: > > > On Mon, Jun 27, 2022 at 6:45 PM Rebecca Troy > > wrote: > > > > > > Currently if AES or DES algorithms fail for Docsis test suite, a > > > segmentation fault occurs when cryptodev_qat_autotest is ran. > > > > > > This is due to a duplica

Re: [PATCH] crypto/qat: fix docsis segmentation fault

2022-06-28 Thread Troy, Rebecca
> On Mon, Jun 27, 2022 at 6:45 PM Rebecca Troy > wrote: > > > > Currently if AES or DES algorithms fail for Docsis test suite, a > > segmentation fault occurs when cryptodev_qat_autotest is ran. > > > > This is due to a duplicate call of EVP_CIPHER_CTX_free for the session > > context. Ctx is free

Re: [PATCH] crypto/qat: fix docsis segmentation fault

2022-06-28 Thread David Marchand
On Mon, Jun 27, 2022 at 6:45 PM Rebecca Troy wrote: > > Currently if AES or DES algorithms fail for Docsis test suite, > a segmentation fault occurs when cryptodev_qat_autotest is ran. > > This is due to a duplicate call of EVP_CIPHER_CTX_free for the > session context. Ctx is freed firstly in the