1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright (C) 2019 Marvell International Ltd.
5 #ifndef _OTX2_CRYPTODEV_CAPABILITIES_H_
6 #define _OTX2_CRYPTODEV_CAPABILITIES_H_
8 #include <rte_cryptodev.h>
10 #include "otx2_mbox.h"
14 OTX2_CPT_EGRP_SE_IE = 1,
20 * Initialize crypto capabilities for the device
23 void otx2_crypto_capabilities_init(union cpt_eng_caps *hw_caps);
26 * Get capabilities list for the device
29 const struct rte_cryptodev_capabilities *
30 otx2_cpt_capabilities_get(void);
33 * Initialize security capabilities for the device
36 void otx2_crypto_sec_capabilities_init(union cpt_eng_caps *hw_caps);
39 * Get security capabilities list for the device
42 const struct rte_security_capability *
43 otx2_crypto_sec_capabilities_get(void *device __rte_unused);
45 #endif /* _OTX2_CRYPTODEV_CAPABILITIES_H_ */