patch 'common/cnxk: fix decrypt packet count register update' has been queued to stable release 21.11.2

Kevin Traynor ktraynor at redhat.com
Fri Jun 24 18:10:05 CEST 2022


Hi,

FYI, your patch has been queued to stable release 21.11.2

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/27/22. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the
patch applied to the branch. This will indicate if there was any rebasing
needed to apply to the stable branch. If there were code changes for rebasing
(ie: not only metadata diffs), please double check that the rebase was
correctly done.

Queued patches are on a temporary branch at:
https://github.com/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/3a66cbb6955690e3cb3de94cdc72f33890e334eb

Thanks.

Kevin

---
>From 3a66cbb6955690e3cb3de94cdc72f33890e334eb Mon Sep 17 00:00:00 2001
From: Rahul Bhansali <rbhansali at marvell.com>
Date: Fri, 20 May 2022 10:52:29 +0530
Subject: [PATCH] common/cnxk: fix decrypt packet count register update

[ upstream commit 9595e3aef699796161ab90a5b69a99d6416e3dcf ]

Corrects the CPT decrypt packet counter register.

Fixes: b1a22e5d4f ("common/cnxk: add CPT diagnostics")

Signed-off-by: Rahul Bhansali <rbhansali at marvell.com>
---
 drivers/common/cnxk/roc_cpt_debug.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/common/cnxk/roc_cpt_debug.c b/drivers/common/cnxk/roc_cpt_debug.c
index 847d969268..be6ddb56aa 100644
--- a/drivers/common/cnxk/roc_cpt_debug.c
+++ b/drivers/common/cnxk/roc_cpt_debug.c
@@ -201,5 +201,5 @@ cpt_lf_print(struct roc_cpt_lf *lf)
 	plt_print("    Decrypted byte count:\t%" PRIu64, reg_val);
 
-	reg_val = plt_read64(lf->rbase + CPT_LF_CTX_ENC_PKT_CNT);
+	reg_val = plt_read64(lf->rbase + CPT_LF_CTX_DEC_PKT_CNT);
 	plt_print("    Decrypted packet count:\t%" PRIu64, reg_val);
 }
-- 
2.34.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2022-06-24 16:54:05.670030228 +0100
+++ 0003-common-cnxk-fix-decrypt-packet-count-register-update.patch	2022-06-24 16:54:05.521164995 +0100
@@ -1 +1 @@
-From 9595e3aef699796161ab90a5b69a99d6416e3dcf Mon Sep 17 00:00:00 2001
+From 3a66cbb6955690e3cb3de94cdc72f33890e334eb Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 9595e3aef699796161ab90a5b69a99d6416e3dcf ]
+
@@ -9 +10,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list