]> git.droids-corp.org - dpdk.git/blobdiff - drivers/compress/qat/qat_comp.h
net/mlx5: support new flow counter API
[dpdk.git] / drivers / compress / qat / qat_comp.h
index 937f3c83e4f9bf7851f28f4b17ca6cd68218a87f..8d315efb03ae2a9adf09374ff630d212626bfd17 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;