]> git.proxmox.com Git - ceph.git/blob - ceph/src/spdk/dpdk/drivers/crypto/octeontx2/otx2_cryptodev_ops.h
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / drivers / crypto / octeontx2 / otx2_cryptodev_ops.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (C) 2019 Marvell International Ltd.
3 */
4
5 #ifndef _OTX2_CRYPTODEV_OPS_H_
6 #define _OTX2_CRYPTODEV_OPS_H_
7
8 #include <rte_cryptodev_pmd.h>
9
10 #define OTX2_CPT_MIN_HEADROOM_REQ 24
11 #define OTX2_CPT_MIN_TAILROOM_REQ 8
12
13 enum otx2_cpt_egrp {
14 OTX2_CPT_EGRP_SE = 0,
15 OTX2_CPT_EGRP_SE_IE = 1,
16 OTX2_CPT_EGRP_AE = 2
17 };
18
19 extern struct rte_cryptodev_ops otx2_cpt_ops;
20
21 #endif /* _OTX2_CRYPTODEV_OPS_H_ */