1 /* SPDX-License-Identifier: BSD-3-Clause 2 * Copyright(C) 2021 Marvell. 3 */ 4 5 #ifndef _CNXK_CRYPTODEV_CAPABILITIES_H_ 6 #define _CNXK_CRYPTODEV_CAPABILITIES_H_ 7 8 #include <rte_cryptodev.h> 9 10 #include "cnxk_cryptodev.h" 11 12 /* 13 * Initialize crypto and IPsec capabilities for the device 14 * 15 */ 16 void cnxk_cpt_caps_populate(struct cnxk_cpt_vf *vf); 17 18 /* 19 * Get crypto capabilities list for the device 20 * 21 */ 22 const struct rte_cryptodev_capabilities * 23 cnxk_crypto_capabilities_get(struct cnxk_cpt_vf *vf); 24 25 /* 26 * Get security capabilities list for the device 27 * 28 */ 29 const struct rte_security_capability * 30 cnxk_crypto_sec_capabilities_get(void *device); 31 32 #endif /* _CNXK_CRYPTODEV_CAPABILITIES_H_ */ 33