crypto/qat: fix dequeue statistics
authorGage Eads <gage.eads@intel.com>
Thu, 27 Apr 2017 15:31:17 +0000 (10:31 -0500)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 28 Apr 2017 15:46:19 +0000 (17:46 +0200)
commit54402696f420b23a3521a53ddae28a1364cac084
treeff12cefe5c0f7a124ad82ad28b23df952fe5b8ad
parentd7acf6ba43b43dde40d13681738c6940049555cb
crypto/qat: fix dequeue statistics

The QAT device's dequeued_count and dequeue_err_count stats were
incorrectly assigned the enqueued_count and enqueue_err_count values,
respectively.

Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")
Cc: stable@dpdk.org
Signed-off-by: Gage Eads <gage.eads@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
drivers/crypto/qat/qat_crypto.c