crypto/octeontx: use distinct metabuf pool for each queue
authorAnoob Joseph <anoobj@marvell.com>
Thu, 18 Apr 2019 05:20:29 +0000 (10:50 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 1 May 2019 13:52:55 +0000 (15:52 +0200)
commitec54bc9d5195b8fbd7927523df19c56856044c3c
tree14979d60b2374f16c4b67717c882752b59787d83
parent20f1cb1aaf77535d11526c5a1c165eeeeddeff6a
crypto/octeontx: use distinct metabuf pool for each queue

The metabuf pool is shared across all queue pairs belonging to the
PMD. In order to prevent one queue pair from starving another,
use a distinct mempool for each queue pair.

Fixes: 273487f7b381 ("crypto/octeontx: add global resource init")
Cc: stable@dpdk.org
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Shally Verma <shallyv@marvell.com>
drivers/common/cpt/cpt_common.h
drivers/common/cpt/cpt_ucode.h
drivers/crypto/octeontx/otx_cryptodev.c
drivers/crypto/octeontx/otx_cryptodev_hw_access.c
drivers/crypto/octeontx/otx_cryptodev_hw_access.h
drivers/crypto/octeontx/otx_cryptodev_ops.c
drivers/crypto/octeontx/otx_cryptodev_ops.h