patch 'net/bnxt: fix MPC channel disable mask' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:00:42 CET 2026


Hi,

FYI, your patch has been queued to stable release 25.11.5

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/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/25cbc76865867e6882f4e4145e7b1ad9d3282db4

Thanks.

Kevin

---
>From 25cbc76865867e6882f4e4145e7b1ad9d3282db4 Mon Sep 17 00:00:00 2001
From: Evgeny Sokolov <evgeny.sokolov at infotecs.ru>
Date: Tue, 15 Sep 2026 08:48:50 +0000
Subject: [PATCH] net/bnxt: fix MPC channel disable mask

[ upstream commit 5f3d65d6f39652809d810c059c426aeaa5265c0a ]

The MPC channel enable bitmap is cleared before it is used to build
the channel mask. As a result, no channels are selected for disable.

Preserve the bitmap before clearing it and use the saved value when
building the channel mask.

Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with SVACE.

Fixes: 80317ff6adfd ("net/bnxt/tf_core: support Thor2")

Signed-off-by: Evgeny Sokolov <evgeny.sokolov at infotecs.ru>
---
 drivers/net/bnxt/bnxt_mpc.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/bnxt/bnxt_mpc.c b/drivers/net/bnxt/bnxt_mpc.c
index 259066fa61..bd084ff9a0 100644
--- a/drivers/net/bnxt/bnxt_mpc.c
+++ b/drivers/net/bnxt/bnxt_mpc.c
@@ -49,4 +49,5 @@ static int bnxt_mpc_chnls_disable(struct bnxt *bp)
 {
 	struct bnxt_mpc *mpc = bp->mpc;
+	uint8_t mpc_chnl_flg;
 	uint8_t mpc_chnl_msk = 0;
 	int i, rc;
@@ -54,4 +55,5 @@ static int bnxt_mpc_chnls_disable(struct bnxt *bp)
 	if (!mpc)
 		return -EINVAL;
+	mpc_chnl_flg = mpc->mpc_chnls_en;
 	mpc->mpc_chnls_en = 0;
 
@@ -60,5 +62,5 @@ static int bnxt_mpc_chnls_disable(struct bnxt *bp)
 
 	for (i = 0; i < BNXT_MPC_CHNL_MAX; i++) {
-		if (!(mpc->mpc_chnls_en & (1 << i)))
+		if (!(mpc_chnl_flg & (1 << i)))
 			continue;
 		mpc_chnl_msk |= (1 << i);
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:42.584557429 +0000
+++ 0116-net-bnxt-fix-MPC-channel-disable-mask.patch	2026-12-03 12:52:39.110938639 +0000
@@ -1 +1 @@
-From 5f3d65d6f39652809d810c059c426aeaa5265c0a Mon Sep 17 00:00:00 2001
+From 25cbc76865867e6882f4e4145e7b1ad9d3282db4 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5f3d65d6f39652809d810c059c426aeaa5265c0a ]
+
@@ -16 +17,0 @@
-Cc: stable at dpdk.org
@@ -24 +25 @@
-index d77f9dd308..1398321ca7 100644
+index 259066fa61..bd084ff9a0 100644



More information about the stable mailing list