patch 'net/mvpp2: fix out-of-range Tx queue stats write' has been queued to stable release 25.11.5

Kevin Traynor ktraynor at redhat.com
Thu Dec 3 13:59:24 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/52f60de8ce3070f8fc36232380629463c8d856c6

Thanks.

Kevin

---
>From 52f60de8ce3070f8fc36232380629463c8d856c6 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Fri, 14 Aug 2026 12:46:08 -0700
Subject: [PATCH] net/mvpp2: fix out-of-range Tx queue stats write

[ upstream commit f28e4646464a84d4cc61f07ac39a5aadcf28e9e9 ]

The Tx queue stats loop logs an error when the queue index is out of
range, then writes q_opackets[idx] and q_obytes[idx] anyway. The Rx loop
skips the queue in this case.

Add the missing continue. Latent today since MRVL_PP2_TXQ_MAX (8) is
below RTE_ETHDEV_QUEUE_STAT_CNTRS (16), but the check is wrong.

Fixes: bdffe0c70a0b ("net/mrvl: support basic stats")

Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
 drivers/net/mvpp2/mrvl_ethdev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c
index 1074092d43..bc947ff52e 100644
--- a/drivers/net/mvpp2/mrvl_ethdev.c
+++ b/drivers/net/mvpp2/mrvl_ethdev.c
@@ -1547,4 +1547,5 @@ mrvl_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats,
 				"tx queue %d stats out of range (0 - %d)",
 				idx, RTE_ETHDEV_QUEUE_STAT_CNTRS - 1);
+			continue;
 		}
 
-- 
2.56.1

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-12-03 12:52:40.422844560 +0000
+++ 0038-net-mvpp2-fix-out-of-range-Tx-queue-stats-write.patch	2026-12-03 12:52:39.041954341 +0000
@@ -1 +1 @@
-From f28e4646464a84d4cc61f07ac39a5aadcf28e9e9 Mon Sep 17 00:00:00 2001
+From 52f60de8ce3070f8fc36232380629463c8d856c6 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f28e4646464a84d4cc61f07ac39a5aadcf28e9e9 ]
+
@@ -14 +15,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list