1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Cavium, Inc
5 #ifndef _CPT_PMD_OPS_HELPER_H_
6 #define _CPT_PMD_OPS_HELPER_H_
9 * This file defines the agreement between the common layer and the individual
10 * crypto drivers for OCTEON TX series. Control path in otx* directory can
11 * directly call functions declared here.
15 * Get meta length required when operating in direct mode (single buffer
23 cpt_pmd_ops_helper_get_mlen_direct_mode(void);
26 * Get size of contiguous meta buffer to be allocated when working in scatter
33 cpt_pmd_ops_helper_get_mlen_sg_mode(void);
36 * Get size of meta buffer to be allocated for asymmetric crypto operations
42 cpt_pmd_ops_helper_asym_get_mlen(void);
43 #endif /* _CPT_PMD_OPS_HELPER_H_ */