patch 'net/bnxt: use long descriptors for Tx checksum offload' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:05:13 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/18b53e0c16dfa7d416728e0fb6baead3d2e105c1
Thanks.
Kevin
---
>From 18b53e0c16dfa7d416728e0fb6baead3d2e105c1 Mon Sep 17 00:00:00 2001
From: Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com>
Date: Tue, 10 Nov 2026 17:04:17 -0700
Subject: [PATCH] net/bnxt: use long descriptors for Tx checksum offload
[ upstream commit 1706d2d4711d85cc7fd4daa7d21dbc3127399a31 ]
Commit 2feea0f3b8b0 ("net/bnxt: modify check for short Tx BD") removed
the TCP, UDP and IP checksum flags from bnxt_xmit_need_long_bd().
The checksum flags are written to the second descriptor
(txbd1->lflags), which only exists for a long BD.
With only checksum offload requested, the packet now uses a short BD
that carries no checksum flags, so the hardware does not compute the
checksums and packets with bad checksums are forwarded unchanged.
Request a long BD again when TCP, UDP or IP checksum offload is set.
Fixes: 2feea0f3b8b0 ("net/bnxt: modify check for short Tx BD")
Signed-off-by: Mohammad Shuab Siddique <mohammad-shuab.siddique at broadcom.com>
---
drivers/net/bnxt/bnxt_txr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt_txr.c b/drivers/net/bnxt/bnxt_txr.c
index 17361d70bb..d3fa284415 100644
--- a/drivers/net/bnxt/bnxt_txr.c
+++ b/drivers/net/bnxt/bnxt_txr.c
@@ -112,5 +112,6 @@ static bool
bnxt_xmit_need_long_bd(struct rte_mbuf *tx_pkt, struct bnxt_tx_queue *txq)
{
- if (tx_pkt->ol_flags & (RTE_MBUF_F_TX_TCP_SEG |
+ if (tx_pkt->ol_flags & (RTE_MBUF_F_TX_TCP_SEG | RTE_MBUF_F_TX_TCP_CKSUM |
+ RTE_MBUF_F_TX_UDP_CKSUM | RTE_MBUF_F_TX_IP_CKSUM |
RTE_MBUF_F_TX_VLAN | RTE_MBUF_F_TX_OUTER_IP_CKSUM |
RTE_MBUF_F_TX_TUNNEL_GRE | RTE_MBUF_F_TX_TUNNEL_VXLAN |
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:50.137909053 +0000
+++ 0387-net-bnxt-use-long-descriptors-for-Tx-checksum-offloa.patch 2026-12-03 12:52:39.297752878 +0000
@@ -1 +1 @@
-From 1706d2d4711d85cc7fd4daa7d21dbc3127399a31 Mon Sep 17 00:00:00 2001
+From 18b53e0c16dfa7d416728e0fb6baead3d2e105c1 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 1706d2d4711d85cc7fd4daa7d21dbc3127399a31 ]
+
@@ -17 +18,0 @@
-Cc: stable at dpdk.org
@@ -25 +26 @@
-index 4c01e8a275..e765cc3e6f 100644
+index 17361d70bb..d3fa284415 100644
@@ -28 +29 @@
-@@ -115,5 +115,6 @@ static bool
+@@ -112,5 +112,6 @@ static bool
More information about the stable
mailing list