[dpdk-dev] [PATCH v2] crypto/octeontx2: fix sessionless code
Akhil Goyal
akhil.goyal at nxp.com
Tue Sep 22 21:49:10 CEST 2020
> A temporary session is created for sessionless crypto operations.
> rte_cryptodev_sym_session_create() should be used for creating the
> temporary session as it initializes the session structure in the
> correct way. Also the session should be set to 0 before freeing it.
>
> Fixes: 17ac2a72191b ("crypto/octeontx2: add enqueue/dequeue ops")
>
> Signed-off-by: Ankur Dwivedi <adwivedi at marvell.com>
> ---
> v2:
> * Use local variable to hold session size
Please supersede your previous versions from the patchworks. It creates unnecessary confusion.
Applied to dpdk-next-crypto
Thanks.
More information about the dev
mailing list