[PATCH v4 19/23] common/cnxk: fix format specifier for bandwidth profile ID

Nithin Dabilpuram ndabilpuram at marvell.com
Fri Nov 7 11:47:43 CET 2025


From: Aarnav JP <ajp at marvell.com>

Fix format specifier for bandwidth profile ID.

Fixes: db5744d3cd23 ("common/cnxk: support NIX debug for CN20K")

Signed-off-by: Aarnav JP <ajp at marvell.com>
---
 .mailmap                            | 1 +
 drivers/common/cnxk/roc_nix_debug.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.mailmap b/.mailmap
index 10c37a97a6..46053e419c 100644
--- a/.mailmap
+++ b/.mailmap
@@ -1,4 +1,5 @@
 Aakash Sasidharan <asasidharan at marvell.com>
+Aarnav JP <ajp at marvell.com>
 Aaro Koskinen <aaro.koskinen at nsn.com>
 Aaron Campbell <aaron at arbor.net>
 Aaron Conole <aconole at redhat.com>
diff --git a/drivers/common/cnxk/roc_nix_debug.c b/drivers/common/cnxk/roc_nix_debug.c
index f9294e693b..11994bf131 100644
--- a/drivers/common/cnxk/roc_nix_debug.c
+++ b/drivers/common/cnxk/roc_nix_debug.c
@@ -769,8 +769,8 @@ nix_lf_rq_dump(__io struct nix_cn20k_rq_ctx_s *ctx, FILE *file)
 
 	nix_dump(file, "W2: xqe_hdr_split \t\t%d\nW2: xqe_imm_copy \t\t%d",
 		 ctx->xqe_hdr_split, ctx->xqe_imm_copy);
-	nix_dump(file, "W2: band_prof_id\t\t%d\n",
-		 ((ctx->band_prof_id_h << 10) | ctx->band_prof_id_l));
+	nix_dump(file, "W2: band_prof_id\t\t0x%" PRIx64 "\n",
+		 (uint64_t)((ctx->band_prof_id_h << 10) | ctx->band_prof_id_l));
 	nix_dump(file, "W2: xqe_imm_size \t\t%d\nW2: later_skip \t\t\t%d",
 		 ctx->xqe_imm_size, ctx->later_skip);
 	nix_dump(file, "W2: sso_bp_ena\t\t%d\n", ctx->sso_bp_ena);
-- 
2.34.1



More information about the dev mailing list