1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
5 #ifndef _NITROX_SYM_REQMGR_H_
6 #define _NITROX_SYM_REQMGR_H_
8 #include "nitrox_sym_ctx.h"
11 struct nitrox_softreq;
13 int nitrox_process_se_req(uint16_t qno, struct rte_crypto_op *op,
14 struct nitrox_crypto_ctx *ctx,
15 struct nitrox_softreq *sr);
16 int nitrox_check_se_req(struct nitrox_softreq *sr, struct rte_crypto_op **op);
17 void *nitrox_sym_instr_addr(struct nitrox_softreq *sr);
18 struct rte_mempool *nitrox_sym_req_pool_create(struct rte_cryptodev *cdev,
19 uint32_t nobjs, uint16_t qp_id,
21 void nitrox_sym_req_pool_free(struct rte_mempool *mp);
23 #endif /* _NITROX_SYM_REQMGR_H_ */