patch 'net/bnxt: fix memset size in Tx queue start' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:00:40 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/2d85fa8d00aefb4c3e9ce262e1ae5fd771abeaf2
Thanks.
Kevin
---
>From 2d85fa8d00aefb4c3e9ce262e1ae5fd771abeaf2 Mon Sep 17 00:00:00 2001
From: Denis Lyulin <lyulin.2003 at mail.ru>
Date: Thu, 16 Apr 2026 12:02:51 +0300
Subject: [PATCH] net/bnxt: fix memset size in Tx queue start
[ upstream commit cfea6c1c512ec0fa6176ee89615ef9b70f0cf159 ]
When the tx_queue is started, previous stats are reset.
For tpa_v2 and P7, extended stats structure is used:
`struct bnxt_ring_stats_ext`, so passing wrong size to memset
makes not all stats to be reset. This commit sets correct size of
the structure passed to memset when zeroing-out previous stats.
Fixes: dd0191d5e70d ("net/bnxt/tf_ulp: support Thor2 ULP layer")
Signed-off-by: Denis Lyulin <lyulin.2003 at mail.ru>
---
drivers/net/bnxt/bnxt_txr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/bnxt/bnxt_txr.c b/drivers/net/bnxt/bnxt_txr.c
index ef226e90a5..17361d70bb 100644
--- a/drivers/net/bnxt/bnxt_txr.c
+++ b/drivers/net/bnxt/bnxt_txr.c
@@ -905,5 +905,5 @@ int bnxt_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)
if (BNXT_TPA_V2_P7(bp))
memset(&bp->prev_tx_ring_stats_ext[tx_queue_id], 0,
- sizeof(struct bnxt_ring_stats));
+ sizeof(struct bnxt_ring_stats_ext));
else
memset(&bp->prev_tx_ring_stats[tx_queue_id], 0,
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:42.529073729 +0000
+++ 0114-net-bnxt-fix-memset-size-in-Tx-queue-start.patch 2026-12-03 12:52:39.109523621 +0000
@@ -1 +1 @@
-From cfea6c1c512ec0fa6176ee89615ef9b70f0cf159 Mon Sep 17 00:00:00 2001
+From 2d85fa8d00aefb4c3e9ce262e1ae5fd771abeaf2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit cfea6c1c512ec0fa6176ee89615ef9b70f0cf159 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 3fae0824d1..36188346f1 100644
+index ef226e90a5..17361d70bb 100644
@@ -24 +25 @@
-@@ -908,5 +908,5 @@ int bnxt_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)
+@@ -905,5 +905,5 @@ int bnxt_tx_queue_start(struct rte_eth_dev *dev, uint16_t tx_queue_id)
More information about the stable
mailing list