common/cnxk: fix decrypt packet count register update

Corrects the CPT decrypt packet counter register.

Fixes: b1a22e5d4f ("common/cnxk: add CPT diagnostics")
Cc: stable@dpdk.org

Signed-off-by: Rahul Bhansali <rbhansali@marvell.com>
This commit is contained in:
Rahul Bhansali 2022-05-20 10:52:29 +05:30 committed by Jerin Jacob
parent c06b6b9f9d
commit 9595e3aef6

View File

@ -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);
}