X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcompress%2Fqat%2Fqat_comp.h;h=8d315efb03ae2a9adf09374ff630d212626bfd17;hb=db48f9db5d9ffdfc851161e12f05ae099df44de0;hp=937f3c83e4f9bf7851f28f4b17ca6cd68218a87f;hpb=3cc14fc48e3509dd190f961387a466370447228c;p=dpdk.git diff --git a/drivers/compress/qat/qat_comp.h b/drivers/compress/qat/qat_comp.h index 937f3c83e4..8d315efb03 100644 --- a/drivers/compress/qat/qat_comp.h +++ b/drivers/compress/qat/qat_comp.h @@ -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;