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

luca.boccassi at gmail.com luca.boccassi at gmail.com
Tue Oct 27 12:49:49 CET 2026


Hi,

FYI, your patch has been queued to stable release 24.11.9

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

This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/67e73c9b7ac51ee26896048089660a9f61dc54d6

Thanks.

Luca Boccassi

---
>From 67e73c9b7ac51ee26896048089660a9f61dc54d6 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 2582b507829..6f074417c14 100644
--- a/drivers/net/bnxt/bnxt_mpc.c
+++ b/drivers/net/bnxt/bnxt_mpc.c
@@ -48,18 +48,20 @@ static int bnxt_mpc_chnls_enable(struct bnxt *bp)
 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;
 
 	if (!mpc)
 		return -EINVAL;
+	mpc_chnl_flg = mpc->mpc_chnls_en;
 	mpc->mpc_chnls_en = 0;
 
 	if (!BNXT_PF(bp))
 		return 0;
 
 	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.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-10-27 11:43:57.393827035 +0000
+++ 0095-net-bnxt-fix-MPC-channel-disable-mask.patch	2026-10-27 11:43:53.618062667 +0000
@@ -1 +1 @@
-From 5f3d65d6f39652809d810c059c426aeaa5265c0a Mon Sep 17 00:00:00 2001
+From 67e73c9b7ac51ee26896048089660a9f61dc54d6 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 2582b507829..6f074417c14 100644


More information about the stable mailing list