patch 'power: remove duplicate uncore set frequency typedef' has been queued to stable release 24.11.7
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Thu Jun 11 15:20:50 CEST 2026
Hi,
FYI, your patch has been queued to stable release 24.11.7
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 06/13/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/44579a3d2165ea51dc8bdf7c3d3cec1a9d244621
Thanks.
Luca Boccassi
---
>From 44579a3d2165ea51dc8bdf7c3d3cec1a9d244621 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 b92af28df9..3f12e04789 100644
--- a/lib/power/power_uncore_ops.h
+++ b/lib/power/power_uncore_ops.h
@@ -75,8 +75,7 @@ typedef int (*rte_power_uncore_exit_t)(unsigned int pkg, unsigned int die);
typedef uint32_t (*rte_power_get_uncore_freq_t)(unsigned int pkg, unsigned int die);
/**
- * 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.
*
* This function should NOT be called in the fast path.
@@ -97,27 +96,6 @@ 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.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-06-11 14:20:05.284157541 +0100
+++ 0101-power-remove-duplicate-uncore-set-frequency-typedef.patch 2026-06-11 14:20:01.342749093 +0100
@@ -1 +1 @@
-From 4dcda9c5783ec8b3ff0da6ba54451142dfbe4ac9 Mon Sep 17 00:00:00 2001
+From 44579a3d2165ea51dc8bdf7c3d3cec1a9d244621 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 4dcda9c5783ec8b3ff0da6ba54451142dfbe4ac9 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 783860ee5b..025a55cb97 100644
+index b92af28df9..3f12e04789 100644
@@ -22 +23 @@
-@@ -76,8 +76,7 @@ typedef int (*rte_power_uncore_exit_t)(unsigned int pkg, unsigned int die);
+@@ -75,8 +75,7 @@ typedef int (*rte_power_uncore_exit_t)(unsigned int pkg, unsigned int die);
@@ -32 +33 @@
-@@ -98,27 +97,6 @@ typedef uint32_t (*rte_power_get_uncore_freq_t)(unsigned int pkg, unsigned int d
+@@ -97,27 +96,6 @@ typedef uint32_t (*rte_power_get_uncore_freq_t)(unsigned int pkg, unsigned int d
More information about the stable
mailing list