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: 1703e94ac5
("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>
This commit is contained in:
parent
d7acf6ba43
commit
54402696f4
@ -1275,9 +1275,9 @@ void qat_crypto_sym_stats_get(struct rte_cryptodev *dev,
|
||||
}
|
||||
|
||||
stats->enqueued_count += qp[i]->stats.enqueued_count;
|
||||
stats->dequeued_count += qp[i]->stats.enqueued_count;
|
||||
stats->dequeued_count += qp[i]->stats.dequeued_count;
|
||||
stats->enqueue_err_count += qp[i]->stats.enqueue_err_count;
|
||||
stats->dequeue_err_count += qp[i]->stats.enqueue_err_count;
|
||||
stats->dequeue_err_count += qp[i]->stats.dequeue_err_count;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user