crypto/octeontx: fix session-less mode
authorAnkur Dwivedi <adwivedi@marvell.com>
Mon, 1 Mar 2021 05:59:55 +0000 (11:29 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 16 Apr 2021 10:43:33 +0000 (12:43 +0200)
commit8e177f149ec3c8ace46d225bb0bc69b7e099c7a4
tree568d510fb20d1f9682d0835cce5e71954a6a816e
parent48fc315f02bb270234cef80788a548ac48897bc3
crypto/octeontx: fix session-less mode

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.

Fixes: caeba5062c39 ("crypto/octeontx: improve symmetric session-less path")
Cc: stable@dpdk.org
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/crypto/octeontx/otx_cryptodev_ops.c