patch 'power: remove duplicate uncore set frequency typedef' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Tue Jul 28 17:55:49 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/01/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/793af32d510ec5d453751899feac30f4d94e991e

Thanks.

Kevin

---
>From 793af32d510ec5d453751899feac30f4d94e991e Mon Sep 17 00:00:00 2001
From: Huisong Li <lihuisong at huawei.com>
Date: Thu, 7 May 2026 19:27:54 +0800
Subject: [PATCH] power: remove duplicate uncore set frequency typedef

[ upstream commit 4dcda9c5783ec8b3ff0da6ba54451142dfbe4ac9 ]

Remove a duplicated rte_power_set_uncore_freq_t definition.
And this ops is intended to set any available uncore frequency instead
of minimum and maximum one.

Fixes: ebe99d351a3f ("power: refactor uncore power management")

Signed-off-by: Huisong Li <lihuisong at huawei.com>
---
 lib/power/power_uncore_ops.h | 24 +-----------------------
 1 file changed, 1 insertion(+), 23 deletions(-)

diff --git a/lib/power/power_uncore_ops.h b/lib/power/power_uncore_ops.h
index 783860ee5b..025a55cb97 100644
--- a/lib/power/power_uncore_ops.h
+++ b/lib/power/power_uncore_ops.h
@@ -77,6 +77,5 @@ typedef uint32_t (*rte_power_get_uncore_freq_t)(unsigned int pkg, unsigned int d
 
 /**
- * Set minimum and maximum uncore frequency for specified die on a package
- * to specified index value.
+ * Set uncore frequency for specified die on a package to specified index value.
  * It should be protected outside of this function for threadsafe.
  *
@@ -99,25 +98,4 @@ typedef uint32_t (*rte_power_get_uncore_freq_t)(unsigned int pkg, unsigned int d
 typedef int (*rte_power_set_uncore_freq_t)(unsigned int pkg, unsigned int die, uint32_t index);
 
-/**
- * Return the list length of available frequencies in the index array.
- *
- * This function should NOT be called in the fast path.
- *
- * @param pkg
- *  Package number.
- *  Each physical CPU in a system is referred to as a package.
- * @param die
- *  Die number.
- *  Each package can have several dies connected together via the uncore mesh.
- * @param index
- *  The index of available frequencies.
- *
- * @return
- *  - 1 on success with frequency changed.
- *  - 0 on success without frequency changed.
- *  - Negative on error.
- */
-typedef int (*rte_power_set_uncore_freq_t)(unsigned int pkg, unsigned int die, uint32_t index);
-
 /**
  * Return the list length of available frequencies in the index array.
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-28 16:54:51.384352070 +0100
+++ 0019-power-remove-duplicate-uncore-set-frequency-typedef.patch	2026-07-28 16:54:50.759590338 +0100
@@ -1 +1 @@
-From 4dcda9c5783ec8b3ff0da6ba54451142dfbe4ac9 Mon Sep 17 00:00:00 2001
+From 793af32d510ec5d453751899feac30f4d94e991e Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4dcda9c5783ec8b3ff0da6ba54451142dfbe4ac9 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list