crypto/octeontx2: support security session data path
[dpdk.git] / drivers / crypto / octeontx2 / otx2_cryptodev.h
index e7a1730..f329741 100644 (file)
@@ -6,6 +6,7 @@
 #define _OTX2_CRYPTODEV_H_
 
 #include "cpt_common.h"
+#include "cpt_hw_types.h"
 
 #include "otx2_dev.h"
 
@@ -33,6 +34,13 @@ struct otx2_cpt_vf {
        /**< CPT device capabilities */
 };
 
+struct cpt_meta_info {
+       uint64_t deq_op_info[4];
+       uint64_t comp_code_sz;
+       union cpt_res_s cpt_res __rte_aligned(16);
+       struct cpt_request_info cpt_req __rte_aligned(8);
+};
+
 #define CPT_LOGTYPE otx2_cpt_logtype
 
 extern int otx2_cpt_logtype;