patch 'net/bnxt/tf_ulp: fix completion metadata type for Thor' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Nov 5 17:41:51 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 11/07/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/c346a72121b117f951de2dea941bae7f1429ff05
Thanks.
Luca Boccassi
---
>From c346a72121b117f951de2dea941bae7f1429ff05 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 c28cf4f2b5f..f52b4f3e948 100644
--- a/drivers/net/bnxt/tf_ulp/bnxt_ulp.c
+++ b/drivers/net/bnxt/tf_ulp/bnxt_ulp.c
@@ -480,7 +480,10 @@ bnxt_ulp_port_init(struct bnxt *bp)
/* Make sure that custom header data is selected */
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,
HWRM_VNIC_UPDATE_INPUT_ENABLES_METADATA_FORMAT_TYPE_VALID);
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-11-05 16:42:45.956672427 +0000
+++ 0024-net-bnxt-tf_ulp-fix-completion-metadata-type-for-Tho.patch 2026-11-05 16:42:44.921060786 +0000
@@ -1 +1 @@
-From 7606483d37e21a947c0ad73210d42f0e0c3a7cd9 Mon Sep 17 00:00:00 2001
+From c346a72121b117f951de2dea941bae7f1429ff05 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 c28cf4f2b5f..f52b4f3e948 100644
More information about the stable
mailing list