net/i40e: fix bitmap free
[dpdk.git] / drivers / crypto / nitrox / nitrox_sym_reqmgr.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(C) 2019 Marvell International Ltd.
3  */
4
5 #ifndef _NITROX_SYM_REQMGR_H_
6 #define _NITROX_SYM_REQMGR_H_
7
8 #include "nitrox_sym_ctx.h"
9
10 struct nitrox_qp;
11 struct nitrox_softreq;
12
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,
20                                                int socket_id);
21 void nitrox_sym_req_pool_free(struct rte_mempool *mp);
22
23 #endif /* _NITROX_SYM_REQMGR_H_ */