1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(C) 2019 Marvell International Ltd.
12 struct nitrox_softreq;
15 struct nitrox_softreq *sr;
23 struct rte_mempool *sr_mp;
24 struct rte_cryptodev_stats stats;
26 rte_atomic16_t pending_count;
30 nitrox_qp_is_empty(struct nitrox_qp *qp)
32 return (rte_atomic16_read(&qp->pending_count) == 0);
35 int nitrox_qp_setup(struct nitrox_qp *qp, uint8_t *bar_addr,
36 const char *dev_name, uint32_t nb_descriptors,
37 uint8_t inst_size, int socket_id);
38 int nitrox_qp_release(struct nitrox_qp *qp, uint8_t *bar_addr);
40 #endif /* _NITROX_QP_H_ */