patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH 22.11] power: increase the number of UNCORE frequencies
@ 2024-07-24 17:55 Stephen Hemminger
  2024-07-25  8:30 ` Luca Boccassi
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2024-07-24 17:55 UTC (permalink / raw)
  To: stable; +Cc: Stephen Hemminger

[ upstream commit 93db1cfcc36ac1808c4a09ec50a470c6127b859e ]

The number of lcore frequencies was too low for some CPU's.
This lead to standalone test failures.

Fixes: 60b8a661a957 ("power: add Intel uncore frequency control")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 app/test/test_power_intel_uncore.c | 2 +-
 lib/power/rte_power_intel_uncore.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/test/test_power_intel_uncore.c b/app/test/test_power_intel_uncore.c
index 31163af84e..38c72fb371 100644
--- a/app/test/test_power_intel_uncore.c
+++ b/app/test/test_power_intel_uncore.c
@@ -17,7 +17,7 @@ test_power_intel_uncore(void)
 #include <rte_power_intel_uncore.h>
 #include <power_common.h>
 
-#define MAX_UNCORE_FREQS 32
+#define MAX_UNCORE_FREQS 64
 
 #define VALID_PKG 0
 #define VALID_DIE 0
diff --git a/lib/power/rte_power_intel_uncore.c b/lib/power/rte_power_intel_uncore.c
index 3b8724385f..7193b86516 100644
--- a/lib/power/rte_power_intel_uncore.c
+++ b/lib/power/rte_power_intel_uncore.c
@@ -11,7 +11,7 @@
 #include "rte_power_intel_uncore.h"
 #include "power_common.h"
 
-#define MAX_UNCORE_FREQS 32
+#define MAX_UNCORE_FREQS 64
 #define MAX_NUMA_DIE 8
 #define BUS_FREQ     100000
 #define FILTER_LENGTH 18
-- 
2.43.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 22.11] power: increase the number of UNCORE frequencies
  2024-07-24 17:55 [PATCH 22.11] power: increase the number of UNCORE frequencies Stephen Hemminger
@ 2024-07-25  8:30 ` Luca Boccassi
  0 siblings, 0 replies; 2+ messages in thread
From: Luca Boccassi @ 2024-07-25  8:30 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: stable

On Wed, 24 Jul 2024 at 18:55, Stephen Hemminger
<stephen@networkplumber.org> wrote:
>
> [ upstream commit 93db1cfcc36ac1808c4a09ec50a470c6127b859e ]
>
> The number of lcore frequencies was too low for some CPU's.
> This lead to standalone test failures.
>
> Fixes: 60b8a661a957 ("power: add Intel uncore frequency control")
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  app/test/test_power_intel_uncore.c | 2 +-
>  lib/power/rte_power_intel_uncore.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Thanks, applied

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-25  8:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-24 17:55 [PATCH 22.11] power: increase the number of UNCORE frequencies Stephen Hemminger
2024-07-25  8:30 ` Luca Boccassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).