drivers: introduce vDPA class
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev_mbox.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (C) 2019 Marvell International Ltd.
3  */
4
5 #ifndef _OTX2_CRYPTODEV_MBOX_H_
6 #define _OTX2_CRYPTODEV_MBOX_H_
7
8 #include <rte_cryptodev.h>
9
10 int otx2_cpt_available_queues_get(const struct rte_cryptodev *dev,
11                                   uint16_t *nb_queues);
12
13 int otx2_cpt_queues_attach(const struct rte_cryptodev *dev, uint8_t nb_queues);
14
15 int otx2_cpt_queues_detach(const struct rte_cryptodev *dev);
16
17 int otx2_cpt_msix_offsets_get(const struct rte_cryptodev *dev);
18
19 int otx2_cpt_af_reg_read(const struct rte_cryptodev *dev, uint64_t reg,
20                          uint64_t *val);
21
22 int otx2_cpt_af_reg_write(const struct rte_cryptodev *dev, uint64_t reg,
23                           uint64_t val);
24
25 #endif /* _OTX2_CRYPTODEV_MBOX_H_ */