X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fcommon%2Fcpt%2Fcpt_pmd_ops_helper.h;h=716ae94c8efb8a798c2172c263abd5dd3e2dec62;hb=391b8bcc81713d0da7e68eb39a64b00e69fc3543;hp=24c3559a0b797c945e7baeff2d69979aca0b030b;hpb=fadc1ea15c61136fa11a0416b08b46e9e6d59274;p=dpdk.git diff --git a/drivers/common/cpt/cpt_pmd_ops_helper.h b/drivers/common/cpt/cpt_pmd_ops_helper.h index 24c3559a0b..716ae94c8e 100644 --- a/drivers/common/cpt/cpt_pmd_ops_helper.h +++ b/drivers/common/cpt/cpt_pmd_ops_helper.h @@ -40,4 +40,23 @@ cpt_pmd_ops_helper_get_mlen_sg_mode(void); */ int cpt_pmd_ops_helper_asym_get_mlen(void); + +/* + * Initialize ECC FMUL precomputed table + * + * @param + * - pointer to fpm_table iova address + * + * @return + * - 0 on success, negative on error + */ +__rte_experimental +int cpt_fpm_init(uint64_t *fpm_table_iova); + +/* + * Clear ECC FMUL precomputed table + */ +__rte_experimental +void cpt_fpm_clear(void); + #endif /* _CPT_PMD_OPS_HELPER_H_ */