patch 'dts: reduce digit count in single core forwarding metrics' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Mar 19 11:02:38 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/23/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/002d9236c239305f4466a3071e09888d05ee7ae7
Thanks.
Kevin
---
>From 002d9236c239305f4466a3071e09888d05ee7ae7 Mon Sep 17 00:00:00 2001
From: Andrew Bailey <abailey at iol.unh.edu>
Date: Tue, 24 Feb 2026 15:04:19 -0500
Subject: [PATCH] dts: reduce digit count in single core forwarding metrics
[ upstream commit 427ffc8c364c115241953b0c58cd34ef44c774c7 ]
Previously, the single-core performance test suite did not
limit the significant figures written to the result json file.
This patch limits the results for the output and the json
result file to the thousandths place.
Bugzilla ID: 1895
Fixes: d77d7f04f24c ("dts: add single-core performance test suite")
Signed-off-by: Andrew Bailey <abailey at iol.unh.edu>
Reviewed-by: Patrick Robb <probb at iol.unh.edu>
---
dts/tests/TestSuite_single_core_forward_perf.py | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/dts/tests/TestSuite_single_core_forward_perf.py b/dts/tests/TestSuite_single_core_forward_perf.py
index 8a92ba39b5..1e7ab7b036 100644
--- a/dts/tests/TestSuite_single_core_forward_perf.py
+++ b/dts/tests/TestSuite_single_core_forward_perf.py
@@ -92,5 +92,5 @@ class TestSingleCoreForwardPerf(TestSuite):
for params in test_parameters:
print(f"{params['frame_size']:>12} | {params['num_descriptors']:>12} | ", end="")
- print(f"{params['measured_mpps']:>12.2f} | {params['expected_mpps']:>14.2f}")
+ print(f"{params['measured_mpps']:>12} | {params['expected_mpps']:>14}")
print("-" * len(header))
@@ -132,8 +132,10 @@ class TestSingleCoreForwardPerf(TestSuite):
**driver_specific_testpmd_args,
) as testpmd:
- params["measured_mpps"] = self._transmit(testpmd, frame_size)
- params["performance_delta"] = (
- float(params["measured_mpps"]) - float(params["expected_mpps"])
- ) / float(params["expected_mpps"])
+ params["measured_mpps"] = round(self._transmit(testpmd, frame_size), 3)
+ params["performance_delta"] = round(
+ (float(params["measured_mpps"]) - float(params["expected_mpps"]))
+ / float(params["expected_mpps"]),
+ 3,
+ )
params["pass"] = float(params["performance_delta"]) >= -self.delta_tolerance
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-03-19 10:01:08.298186544 +0000
+++ 0040-dts-reduce-digit-count-in-single-core-forwarding-met.patch 2026-03-19 10:01:07.107931383 +0000
@@ -1 +1 @@
-From 427ffc8c364c115241953b0c58cd34ef44c774c7 Mon Sep 17 00:00:00 2001
+From 002d9236c239305f4466a3071e09888d05ee7ae7 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 427ffc8c364c115241953b0c58cd34ef44c774c7 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list