patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] crypto/qat: fix dequeue count stats retrieval
@ 2017-04-27 15:31 Gage Eads
  2017-04-27 15:47 ` Trahe, Fiona
  0 siblings, 1 reply; 3+ messages in thread
From: Gage Eads @ 2017-04-27 15:31 UTC (permalink / raw)
  To: dev; +Cc: john.griffin, fiona.trahe, deepak.k.jain, stable

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

Signed-off-by: Gage Eads <gage.eads@intel.com>
Fixes: 1703e94a ("qat: add driver for QuickAssist devices")
---
 drivers/crypto/qat/qat_crypto.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c
index 679b257..386aa45 100644
--- a/drivers/crypto/qat/qat_crypto.c
+++ b/drivers/crypto/qat/qat_crypto.c
@@ -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;
 	}
 }
 
-- 
2.7.4

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/qat: fix dequeue count stats retrieval
  2017-04-27 15:31 [dpdk-stable] [PATCH] crypto/qat: fix dequeue count stats retrieval Gage Eads
@ 2017-04-27 15:47 ` Trahe, Fiona
  2017-04-28  7:54   ` De Lara Guarch, Pablo
  0 siblings, 1 reply; 3+ messages in thread
From: Trahe, Fiona @ 2017-04-27 15:47 UTC (permalink / raw)
  To: Eads, Gage, dev; +Cc: Griffin, John, Jain, Deepak K, stable, Trahe, Fiona



> -----Original Message-----
> From: Eads, Gage
> Sent: Thursday, April 27, 2017 4:31 PM
> To: dev@dpdk.org
> Cc: Griffin, John <john.griffin@intel.com>; Trahe, Fiona
> <fiona.trahe@intel.com>; Jain, Deepak K <deepak.k.jain@intel.com>;
> stable@dpdk.org
> Subject: [PATCH] crypto/qat: fix dequeue count stats retrieval
> 
> The QAT device's dequeued_count and dequeue_err_count stats were
> incorrectly assigned the enqueued_count and enqueue_err_count values,
> respectively.
> 
> Signed-off-by: Gage Eads <gage.eads@intel.com>
> Fixes: 1703e94a ("qat: add driver for QuickAssist devices")

Acked-by: Fiona Trahe <fiona.trahe@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH] crypto/qat: fix dequeue count stats retrieval
  2017-04-27 15:47 ` Trahe, Fiona
@ 2017-04-28  7:54   ` De Lara Guarch, Pablo
  0 siblings, 0 replies; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2017-04-28  7:54 UTC (permalink / raw)
  To: Trahe, Fiona, Eads, Gage, dev
  Cc: Griffin, John, Jain, Deepak K, stable, Trahe, Fiona



> -----Original Message-----
> From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Trahe, Fiona
> Sent: Thursday, April 27, 2017 4:47 PM
> To: Eads, Gage; dev@dpdk.org
> Cc: Griffin, John; Jain, Deepak K; stable@dpdk.org; Trahe, Fiona
> Subject: Re: [dpdk-stable] [PATCH] crypto/qat: fix dequeue count stats
> retrieval
> 
> 
> 
> > -----Original Message-----
> > From: Eads, Gage
> > Sent: Thursday, April 27, 2017 4:31 PM
> > To: dev@dpdk.org
> > Cc: Griffin, John <john.griffin@intel.com>; Trahe, Fiona
> > <fiona.trahe@intel.com>; Jain, Deepak K <deepak.k.jain@intel.com>;
> > stable@dpdk.org
> > Subject: [PATCH] crypto/qat: fix dequeue count stats retrieval
> >
> > The QAT device's dequeued_count and dequeue_err_count stats were
> > incorrectly assigned the enqueued_count and enqueue_err_count values,
> > respectively.
> >
> > Signed-off-by: Gage Eads <gage.eads@intel.com>
> > Fixes: 1703e94a ("qat: add driver for QuickAssist devices")
> 
> Acked-by: Fiona Trahe <fiona.trahe@intel.com>

Fixed "fixes line" with 6 SHA-1 bytes: 1703e94ac5ce
Added Cc: stable@dpdk.org

Applied to dpdk-next-crypto.
Thanks,

Pablo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-28  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-27 15:31 [dpdk-stable] [PATCH] crypto/qat: fix dequeue count stats retrieval Gage Eads
2017-04-27 15:47 ` Trahe, Fiona
2017-04-28  7:54   ` De Lara Guarch, Pablo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).