e07a2a8c924a61d69ff5950dcc6f761faf0e4e26
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev_capabilities.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright (C) 2019 Marvell International Ltd.
3  */
4
5 #ifndef _OTX2_CRYPTODEV_CAPABILITIES_H_
6 #define _OTX2_CRYPTODEV_CAPABILITIES_H_
7
8 #include <rte_cryptodev.h>
9
10 #include "otx2_mbox.h"
11
12 enum otx2_cpt_egrp {
13         OTX2_CPT_EGRP_SE = 0,
14         OTX2_CPT_EGRP_SE_IE = 1,
15         OTX2_CPT_EGRP_AE = 2,
16         OTX2_CPT_EGRP_MAX,
17 };
18
19 /*
20  * Get capabilities list for the device
21  *
22  */
23 const struct rte_cryptodev_capabilities *
24 otx2_cpt_capabilities_get(union cpt_eng_caps *hw_caps);
25
26 #endif /* _OTX2_CRYPTODEV_CAPABILITIES_H_ */