]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/cpt/cpt_pmd_ops_helper.h
common/mlx5: move some getter functions from net driver
[dpdk.git] / drivers / common / cpt / cpt_pmd_ops_helper.h
index 24c3559a0b797c945e7baeff2d69979aca0b030b..716ae94c8efb8a798c2172c263abd5dd3e2dec62 100644 (file)
@@ -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_ */