event/octeontx2: configure crypto adapter xaq pool
authorShijith Thotton <sthotton@marvell.com>
Mon, 26 Apr 2021 12:21:07 +0000 (17:51 +0530)
committerJerin Jacob <jerinj@marvell.com>
Thu, 29 Apr 2021 08:48:22 +0000 (10:48 +0200)
commit849111aec74dd3282a70b540683fcdc86be155d8
treeac856825837c4fc51d4b625879db56725a6d71be
parent3841fc3581ec4d95bf8a72e8a545db8d03ecd2bd
event/octeontx2: configure crypto adapter xaq pool

Configure xaq pool based on number of in-use crypto queues to avoid CPT
add work failure due to xaq buffer run out. This patch configures
OTX2_CPT_DEFAULT_CMD_QLEN number of xae entries per queue pair.

Fixes: 29768f78d5a7 ("event/octeontx2: add crypto adapter framework")
Cc: stable@dpdk.org
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Acked-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
drivers/event/octeontx2/otx2_evdev_adptr.c
drivers/event/octeontx2/otx2_evdev_crypto_adptr.c