X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcompress%2Fqat%2Fqat_comp.c;h=7ac25a3b4ccbac8257ef5dbafc8df7ca591a9460;hb=d844400966d0071680d618c21a896ec8c73a50e6;hp=3a064ec3b2be65f9dc4fbef98ca9419945bf5da2;hpb=ce627d633b04b45d7f0d97f2c6eefc059b6cf89e;p=dpdk.git diff --git a/drivers/compress/qat/qat_comp.c b/drivers/compress/qat/qat_comp.c index 3a064ec3b2..7ac25a3b4c 100644 --- a/drivers/compress/qat/qat_comp.c +++ b/drivers/compress/qat/qat_comp.c @@ -191,8 +191,8 @@ qat_comp_build_request(void *in_op, uint8_t *out_msg, ICP_QAT_FW_COMP_EOP : ICP_QAT_FW_COMP_NOT_EOP, ICP_QAT_FW_COMP_NOT_BFINAL, - ICP_QAT_FW_COMP_NO_CNV, - ICP_QAT_FW_COMP_NO_CNV_RECOVERY); + ICP_QAT_FW_COMP_CNV, + ICP_QAT_FW_COMP_CNV_RECOVERY); } /* common for sgl and flat buffers */ @@ -603,7 +603,8 @@ qat_comp_process_response(void **op, uint8_t *resp, void *op_cookie, rx_op->status = RTE_COMP_OP_STATUS_ERROR; rx_op->debug_status = ERR_CODE_QAT_COMP_WRONG_FW; *op = (void *)rx_op; - QAT_DP_LOG(ERR, "QAT has wrong firmware"); + QAT_DP_LOG(ERR, + "This QAT hardware doesn't support compression operation"); ++(*dequeue_err_count); return 1; }