X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcompress%2Fqat%2Fqat_comp.h;h=61d12ecf4705d0cbca6520635a25bec055ae0826;hb=6fc581e9f8d29fb07738b356d339a885b5a90a35;hp=1312ee93b4dac264019b7cbfca3db99a14d98622;hpb=352332744c3a7ff9c0fb67fac4d4ccb663456078;p=dpdk.git diff --git a/drivers/compress/qat/qat_comp.h b/drivers/compress/qat/qat_comp.h index 1312ee93b4..61d12ecf47 100644 --- a/drivers/compress/qat/qat_comp.h +++ b/drivers/compress/qat/qat_comp.h @@ -24,6 +24,8 @@ /* fallback to fixed compression threshold */ #define QAT_FALLBACK_THLD ((uint32_t)(RTE_PMD_QAT_COMP_IM_BUFFER_SIZE / 1.1)) +#define QAT_MIN_OUT_BUF_SIZE 46 + enum qat_comp_request_type { QAT_COMP_REQUEST_FIXED_COMP_STATELESS, QAT_COMP_REQUEST_DYNAMIC_COMP_STATELESS, @@ -45,6 +47,7 @@ struct qat_comp_op_cookie { phys_addr_t qat_sgl_src_phys_addr; phys_addr_t qat_sgl_dst_phys_addr; /* dynamically created SGLs */ + uint8_t error; uint8_t socket_id; uint16_t src_nb_elems; uint16_t dst_nb_elems; @@ -63,7 +66,7 @@ qat_comp_build_request(void *in_op, uint8_t *out_msg, void *op_cookie, enum qat_device_gen qat_dev_gen __rte_unused); int -qat_comp_process_response(void **op, uint8_t *resp, +qat_comp_process_response(void **op, uint8_t *resp, void *op_cookie, uint64_t *dequeue_err_count); int