common/cpt: allocate auth key dynamically
authorAnoob Joseph <anoobj@marvell.com>
Wed, 14 Jul 2021 11:18:24 +0000 (16:48 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Tue, 20 Jul 2021 08:32:05 +0000 (10:32 +0200)
commitdb06451baf6cbbdcbd80b3e682a790cabd351216
tree716c989e8771fb157da3cd46cad4a0e82e5839a5
parent252947b9509ad701cb019dff8a5a81d329d7b251
common/cpt: allocate auth key dynamically

Reduce session private data size by allocating
auth_key dynamically as required. Added auth_key_iova
to eliminate any impact on fastpath.

Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cpt/cpt_mcode_defines.h
drivers/common/cpt/cpt_ucode.h
drivers/crypto/octeontx/otx_cryptodev_ops.c
drivers/crypto/octeontx2/otx2_cryptodev_ops.c
drivers/crypto/octeontx2/otx2_cryptodev_ops_helper.h