All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] common/cnxk: decrypt packet count register update
@ 2022-05-20  5:22 Rahul Bhansali
  2022-05-20  5:22 ` [PATCH 2/2] common/cnxk: print NIX inline outbound CPT LF registers Rahul Bhansali
  2022-06-15 12:28 ` [PATCH 1/2] common/cnxk: decrypt packet count register update Jerin Jacob
  0 siblings, 2 replies; 5+ messages in thread
From: Rahul Bhansali @ 2022-05-20  5:22 UTC (permalink / raw)
  To: dev, Nithin Dabilpuram, Kiran Kumar K, Sunil Kumar Kori,
	Satha Rao
  Cc: jerinj, Rahul Bhansali

Corrects the CPT decrypt packet counter register.

Signed-off-by: Rahul Bhansali <rbhansali@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
@@ -200,7 +200,7 @@ cpt_lf_print(struct roc_cpt_lf *lf)
 	reg_val = plt_read64(lf->rbase + CPT_LF_CTX_DEC_BYTE_CNT);
 	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.25.1


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

end of thread, other threads:[~2022-06-15 12:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-20  5:22 [PATCH 1/2] common/cnxk: decrypt packet count register update Rahul Bhansali
2022-05-20  5:22 ` [PATCH 2/2] common/cnxk: print NIX inline outbound CPT LF registers Rahul Bhansali
2022-05-24 15:13   ` Ray Kinsella
2022-06-15 12:28     ` Jerin Jacob
2022-06-15 12:28 ` [PATCH 1/2] common/cnxk: decrypt packet count register update Jerin Jacob

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.