common/qat: fix enqueue/dequeue statistics
authorAdam Dybkowski <adamx.dybkowski@intel.com>
Wed, 6 May 2020 11:29:43 +0000 (13:29 +0200)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commit7277e63f5955fa30898cb6cd739f5e72b8c89ace
treeffd27f21831aedc16c44048041c5a0eb69eabc3d
parent5ec3eb3b839ded5f0f04754721475433bf5d69df
common/qat: fix enqueue/dequeue statistics

This patch fixes enqueued and dequeued count statistics that should
contain the number of operations enqueued by the end user app
instead of the total number of QAT requests - bigger in case of
a multiple-request dynamic Huffman compression operation.

Fixes: c13cecf60f12 ("compress/qat: support IM buffer too small operation")

Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/common/qat/qat_qp.c