patch 'examples/vm_power_manager: fix includes' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:50:20 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/8182226a47faa4ebb6afb206fb7ce086cfa7a893
Thanks.
Luca Boccassi
---
>From 8182226a47faa4ebb6afb206fb7ce086cfa7a893 Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Fri, 28 Aug 2026 19:43:52 -0700
Subject: [PATCH] examples/vm_power_manager: fix includes
[ upstream commit af4784e93cc5bb7c7c9207122f00f41fcb126884 ]
Use include-what-you-use to get the correct set of includes
for this command.
Fixes: 0e8f47491f09 ("examples/vm_power: add command to query CPU frequency")
Fixes: f2fc83b40f06 ("replace unused attributes")
Reported-by: Guillaume Gardet <guillaume.gardet at arm.com>
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
---
.mailmap | 1 +
.../vm_power_manager/guest_cli/vm_power_cli_guest.c | 12 ++++++++----
.../vm_power_manager/guest_cli/vm_power_cli_guest.h | 2 ++
3 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/.mailmap b/.mailmap
index 82083c21486..173cf00ba63 100644
--- a/.mailmap
+++ b/.mailmap
@@ -527,6 +527,7 @@ Grzegorz Nitka <grzegorz.nitka at intel.com>
Grzegorz Siwik <grzegorz.siwik at intel.com>
Guduri Prathyusha <gprathyusha at caviumnetworks.com>
Guido Barzini <gbarzini at solarflare.com>
+Guillaume Gardet <guillaume.gardet at arm.com>
Guillaume Gaudonville <guillaume.gaudonville at 6wind.com>
Guinan Sun <guinanx.sun at intel.com>
Guolin Yang <guolin.yang at broadcom.com> <gyang at vmware.com>
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
index 14d1f3dd95b..3ba004ee742 100644
--- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
+++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.c
@@ -2,21 +2,25 @@
* Copyright(c) 2010-2014 Intel Corporation
*/
-
-#include <stdint.h>
#include <string.h>
#include <stdio.h>
-#include <termios.h>
+#include <errno.h>
+#include <stdbool.h>
+#include <inttypes.h>
+#include <stdlib.h>
-#include <cmdline_rdline.h>
#include <cmdline_parse.h>
#include <cmdline_parse_string.h>
#include <cmdline_parse_num.h>
#include <cmdline_socket.h>
#include <cmdline.h>
+
+#include <rte_build_config.h>
#include <rte_log.h>
#include <rte_lcore.h>
#include <rte_ethdev.h>
+#include <rte_errno.h>
+#include <rte_ether.h>
#include <rte_power_cpufreq.h>
#include <rte_power_guest_channel.h>
diff --git a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.h b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.h
index b578ec0723c..a93fabfa8e5 100644
--- a/examples/vm_power_manager/guest_cli/vm_power_cli_guest.h
+++ b/examples/vm_power_manager/guest_cli/vm_power_cli_guest.h
@@ -5,6 +5,8 @@
#ifndef VM_POWER_CLI_H_
#define VM_POWER_CLI_H_
+#include <rte_common.h>
+
#ifdef __cplusplus
extern "C" {
#endif
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:58.578056020 +0000
+++ 0126-examples-vm_power_manager-fix-includes.patch 2026-10-27 11:43:53.654063782 +0000
@@ -1 +1 @@
-From af4784e93cc5bb7c7c9207122f00f41fcb126884 Mon Sep 17 00:00:00 2001
+From 8182226a47faa4ebb6afb206fb7ce086cfa7a893 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit af4784e93cc5bb7c7c9207122f00f41fcb126884 ]
+
@@ -11 +12,0 @@
-Cc: stable at dpdk.org
@@ -22 +23 @@
-index 4506f9ccf8..37b533f912 100644
+index 82083c21486..173cf00ba63 100644
@@ -25 +26 @@
-@@ -559,6 +559,7 @@ Grzegorz Nitka <grzegorz.nitka at intel.com>
+@@ -527,6 +527,7 @@ Grzegorz Nitka <grzegorz.nitka at intel.com>
@@ -32 +33 @@
- Guo Xin <gxin at ezchip.com>
+ Guolin Yang <guolin.yang at broadcom.com> <gyang at vmware.com>
@@ -34 +35 @@
-index 4114593cee..cd0d87d1e7 100644
+index 14d1f3dd95b..3ba004ee742 100644
@@ -68 +69 @@
-index b578ec0723..a93fabfa8e 100644
+index b578ec0723c..a93fabfa8e5 100644
More information about the stable
mailing list