patch 'net/xsc: fix Tx errors added to Rx queue errors' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:26 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/756a8516b73d0fe5a6bcb61ff98d37f675432b52
Thanks.
Kevin
---
>From 756a8516b73d0fe5a6bcb61ff98d37f675432b52 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Fri, 14 Aug 2026 12:46:10 -0700
Subject: [PATCH] net/xsc: fix Tx errors added to Rx queue errors
[ upstream commit 5b26865ddce69e642d7681b17857f6b6dd4a6fc9 ]
q_errors counts received packets dropped, and is reported as the
rx_qN_errors xstat. The Rx loop fills it correctly, then the Tx loop
adds the Tx error count, so rx_qN_errors reports both.
Tx errors are already counted in oerrors, so drop the assignment.
Fixes: c80ab1a551cc ("net/xsc: support basic statistics")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
drivers/net/xsc/xsc_ethdev.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/xsc/xsc_ethdev.c b/drivers/net/xsc/xsc_ethdev.c
index 07fc52ac7b..307f401a6d 100644
--- a/drivers/net/xsc/xsc_ethdev.c
+++ b/drivers/net/xsc/xsc_ethdev.c
@@ -615,5 +615,4 @@ xsc_ethdev_stats_get(struct rte_eth_dev *dev, struct rte_eth_stats *stats,
qstats->q_opackets[idx] += txq->stats.tx_pkts;
qstats->q_obytes[idx] += txq->stats.tx_bytes;
- qstats->q_errors[idx] += txq->stats.tx_errors;
}
stats->opackets += txq->stats.tx_pkts;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.477356981 +0000
+++ 0040-net-xsc-fix-Tx-errors-added-to-Rx-queue-errors.patch 2026-12-03 12:52:39.042898720 +0000
@@ -1 +1 @@
-From 5b26865ddce69e642d7681b17857f6b6dd4a6fc9 Mon Sep 17 00:00:00 2001
+From 756a8516b73d0fe5a6bcb61ff98d37f675432b52 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5b26865ddce69e642d7681b17857f6b6dd4a6fc9 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -21 +22 @@
-index 39a67ff8cd..505f973d66 100644
+index 07fc52ac7b..307f401a6d 100644
More information about the stable
mailing list