Re: [dpdk-dev] [PATCH v2 2/2] crypto/aesni-mb: improve security instance setup

2020-07-22 Thread De Lara Guarch, Pablo
> -Original Message- > From: Coyle, David > Sent: Monday, July 20, 2020 1:16 PM > To: akhil.go...@nxp.com; Doherty, Declan ; De > Lara Guarch, Pablo ; Trahe, Fiona > > Cc: dev@dpdk.org; Ryan, Brendan ; O'loingsigh, > Mairtin ; Coyle, David > Subject: [PATCH v2 2/2] crypto/aesni-mb: im

[dpdk-dev] [PATCH v2 2/2] crypto/aesni-mb: improve security instance setup

2020-07-20 Thread David Coyle
This patch makes some improvements to the security instance setup for the AESNI-MB PMD, as follows: - fix potential memory leak where the security instance was not freed if an error occurred later in the device creation - tidy-up security instance initialization code by moving it all, including