1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (C) 2020 Marvell International Ltd.
5 #ifndef _OTX2_CRYPTODEV_QP_H_
6 #define _OTX2_CRYPTODEV_QP_H_
8 #include <rte_common.h>
9 #include <rte_mempool.h>
10 #include <rte_spinlock.h>
12 #include "cpt_common.h"
18 /**< Base address where BAR is mapped */
20 /**< Address of LMTLINE */
22 /**< LF enqueue register address */
23 struct pending_queue pend_q;
25 struct rte_mempool *sess_mp;
26 /**< Session mempool */
27 struct rte_mempool *sess_mp_priv;
28 /**< Session private data mempool */
29 struct cpt_qp_meta_info meta_info;
30 /**< Metabuf info required to support operations on the queue pair */
31 rte_iova_t iq_dma_addr;
32 /**< Instruction queue address */
35 #endif /* _OTX2_CRYPTODEV_QP_H_ */