#ifndef _CPT_COMMON_H_
#define _CPT_COMMON_H_
-/*
- * This file defines common macros and structs
- */
+#include <rte_mempool.h>
/*
- * Macros to determine CPT model. Driver makefile will define CPT_MODEL
- * accordingly
+ * This file defines common macros and structs
*/
-#define CRYPTO_OCTEONTX 0x1
#define TIME_IN_RESET_COUNT 5
#define MOD_INC(i, l) ((i) == (l - 1) ? (i) = 0 : (i)++)
-struct cptvf_meta_info {
- void *cptvf_meta_pool;
- int cptvf_op_mlen;
- int cptvf_op_sb_mlen;
+struct cpt_qp_meta_info {
+ struct rte_mempool *pool;
+ int sg_mlen;
+ int lb_mlen;
};
struct rid {