patch 'net/bnxt: fix QP resource count in backing store config' has been queued to stable release 25.11.3
Kevin Traynor
ktraynor at redhat.com
Tue Jul 28 17:55:51 CEST 2026
Hi,
FYI, your patch has been queued to stable release 25.11.3
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/01/26. 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/3fd396ac54118c040677919a99e008738690ab1f
Thanks.
Kevin
---
>From 3fd396ac54118c040677919a99e008738690ab1f Mon Sep 17 00:00:00 2001
From: Ajit Khaparde <ajit.khaparde at broadcom.com>
Date: Fri, 25 Apr 2025 16:01:08 -0700
Subject: [PATCH] net/bnxt: fix QP resource count in backing store config
[ upstream commit ae9b86e7dc3b7d71279f9746ebc6611caed23af3 ]
The driver is not passing the QP1 count while
configuring backing store for QP type.
This can result in a smaller set of entries allocated by the
driver with the firmware.
The number of entries is provided by the firmware as a
part of backing store qcaps v2 HWRM command.
Fixes: fe2f715ca580 ("net/bnxt: support backing store v2")
Signed-off-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
Signed-off-by: Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com>
---
drivers/net/bnxt/bnxt_ethdev.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/bnxt/bnxt_ethdev.c b/drivers/net/bnxt/bnxt_ethdev.c
index 6b77184bc7..34994302c3 100644
--- a/drivers/net/bnxt/bnxt_ethdev.c
+++ b/drivers/net/bnxt/bnxt_ethdev.c
@@ -5373,9 +5373,9 @@ int bnxt_alloc_ctx_pg_tbls(struct bnxt *bp)
entries = ctxm->cq_l2_entries;
else if (ctxm->type == HWRM_FUNC_BACKING_STORE_CFG_V2_INPUT_TYPE_QP)
- entries = ctxm->qp_l2_entries;
+ entries = ctxm->qp_l2_entries + ctxm->qp_qp1_entries;
else if (ctxm->type == HWRM_FUNC_BACKING_STORE_CFG_V2_INPUT_TYPE_MRAV)
entries = ctxm->mrav_av_entries;
else if (ctxm->type == HWRM_FUNC_BACKING_STORE_CFG_V2_INPUT_TYPE_TIM)
- entries = ctx2->qp_l2_entries;
+ entries = ctx2->qp_l2_entries + ctx2->qp_qp1_entries;
entries = clamp_t(uint32_t, entries, ctxm->min_entries,
ctxm->max_entries);
--
2.55.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-07-28 16:54:51.439983000 +0100
+++ 0021-net-bnxt-fix-QP-resource-count-in-backing-store-conf.patch 2026-07-28 16:54:50.760728420 +0100
@@ -1 +1 @@
-From ae9b86e7dc3b7d71279f9746ebc6611caed23af3 Mon Sep 17 00:00:00 2001
+From 3fd396ac54118c040677919a99e008738690ab1f Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit ae9b86e7dc3b7d71279f9746ebc6611caed23af3 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index 1b8cf3a52a..2860c62dbb 100644
+index 6b77184bc7..34994302c3 100644
@@ -27 +28 @@
-@@ -5405,9 +5405,9 @@ int bnxt_alloc_ctx_pg_tbls(struct bnxt *bp)
+@@ -5373,9 +5373,9 @@ int bnxt_alloc_ctx_pg_tbls(struct bnxt *bp)
More information about the stable
mailing list