patch 'net/bnxt/tf_ulp: fix completion metadata type for Thor' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 14:03:03 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/6237762d240b2e5173a7bf82dc074f248b38df10

Thanks.

Kevin

---
>From 6237762d240b2e5173a7bf82dc074f248b38df10 Mon Sep 17 00:00:00 2001
From: Shuanglin Wang <shuanglin.wang at broadcom.com>
Date: Tue, 20 Oct 2026 01:59:37 -0500
Subject: [PATCH] net/bnxt/tf_ulp: fix completion metadata type for Thor

[ upstream commit 7606483d37e21a947c0ad73210d42f0e0c3a7cd9 ]

For Thor, the default Rx completion record metadata format
should be set to Type 1 instead of Type 3. Using the incorrect
type causes the driver to misinterpret the completion records.
Thor2 continues to use Type 3.

Fixes: dd0191d5e70d ("net/bnxt/tf_ulp: support Thor2 ULP layer")

Signed-off-by: Shuanglin Wang <shuanglin.wang at broadcom.com>
Signed-off-by: Manish Kurup <manish.kurup at broadcom.com>
---
 drivers/net/bnxt/tf_ulp/bnxt_ulp.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c
index c28cf4f2b5..f52b4f3e94 100644
--- a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c
+++ b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c
@@ -481,5 +481,8 @@ bnxt_ulp_port_init(struct bnxt *bp)
 	if (dev_id > BNXT_ULP_DEVICE_ID_WH_PLUS) {
 		struct bnxt_vnic_info *vnic = bp->vnic_info;
-		vnic->metadata_format = HWRM_VNIC_UPDATE_INPUT_METADATA_FORMAT_TYPE_3;
+		if (dev_id == BNXT_ULP_DEVICE_ID_THOR2)
+			vnic->metadata_format = HWRM_VNIC_UPDATE_INPUT_METADATA_FORMAT_TYPE_3;
+		else
+			vnic->metadata_format = HWRM_VNIC_UPDATE_INPUT_METADATA_FORMAT_TYPE_1;
 		rc = bnxt_hwrm_vnic_update(bp,
 					vnic,
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:46.517375503 +0000
+++ 0257-net-bnxt-tf_ulp-fix-completion-metadata-type-for-Tho.patch	2026-12-03 12:52:39.210056658 +0000
@@ -1 +1 @@
-From 7606483d37e21a947c0ad73210d42f0e0c3a7cd9 Mon Sep 17 00:00:00 2001
+From 6237762d240b2e5173a7bf82dc074f248b38df10 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 7606483d37e21a947c0ad73210d42f0e0c3a7cd9 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index a75da8aa19..99061f5c5e 100644
+index c28cf4f2b5..f52b4f3e94 100644



More information about the stable mailing list