net/mlx5: support new flow counter API
[dpdk.git] / drivers / compress / qat / qat_comp.h
index 937f3c8..8d315ef 100644 (file)
@@ -24,6 +24,17 @@ enum qat_comp_request_type {
        REQ_COMP_END
 };
 
+struct qat_comp_sgl {
+       qat_sgl_hdr;
+       struct qat_flat_buf buffers[RTE_PMD_QAT_COMP_SGL_MAX_SEGMENTS];
+} __rte_packed __rte_cache_aligned;
+
+struct qat_comp_op_cookie {
+       struct qat_comp_sgl qat_sgl_src;
+       struct qat_comp_sgl qat_sgl_dst;
+       phys_addr_t qat_sgl_src_phys_addr;
+       phys_addr_t qat_sgl_dst_phys_addr;
+};
 
 struct qat_comp_xform {
        struct icp_qat_fw_comp_req qat_comp_req_tmpl;