compress/qat: fix dequeue error counter
authorTomasz Jozwiak <tomaszx.jozwiak@intel.com>
Fri, 14 Dec 2018 12:11:47 +0000 (13:11 +0100)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 19 Dec 2018 10:19:10 +0000 (11:19 +0100)
commitba83e5c0062936dab5c017da574036788c64fb6b
treebd22f4557a37f3b7500b8f0c3ab5f72e4cb63cae
parent652b59df06ccf554d4c39ab76f8b85cc003cf9b0
compress/qat: fix dequeue error counter

This patch increments error counter (stats.dequeue_err_count)
in case of any error detection during qat_comp_process_response
function.

Fixes: 3cc14fc48e35 ("compress/qat: check that correct firmware is in use")
Fixes: 32842f2a6d7d ("compress/qat: create FW request and process response")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Jozwiak <tomaszx.jozwiak@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/common/qat/qat_qp.c
drivers/common/qat/qat_qp.h
drivers/compress/qat/qat_comp.c
drivers/compress/qat/qat_comp.h