common/mlx5: move some getter functions from net driver
[dpdk.git] / drivers / common / cpt / cpt_pmd_ops_helper.h
index 24c3559..716ae94 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_ */