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>
16 lines
336 B
C
16 lines
336 B
C
/* SPDX-License-Identifier: BSD-3-Clause
|
|
* Copyright(c) 2018 Cavium, Inc
|
|
*/
|
|
|
|
#ifndef _OTX_CRYPTODEV_OPS_H_
|
|
#define _OTX_CRYPTODEV_OPS_H_
|
|
|
|
#define OTX_CPT_MIN_HEADROOM_REQ (24)
|
|
#define OTX_CPT_MIN_TAILROOM_REQ (8)
|
|
#define CPT_NUM_QS_PER_VF (1)
|
|
|
|
int
|
|
otx_cpt_dev_create(struct rte_cryptodev *c_dev);
|
|
|
|
#endif /* _OTX_CRYPTODEV_OPS_H_ */
|