Skip to content

Commit

Permalink
power: increase the number of UNCORE frequencies
Browse files Browse the repository at this point in the history
[ upstream commit 93db1cfcc36ac1808c4a09ec50a470c6127b859e ]

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

Fixes: 60b8a66 ("power: add Intel uncore frequency control")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
  • Loading branch information
shemminger authored and bluca committed Jul 24, 2024
1 parent e224810 commit b70780f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/test/test_power_intel_uncore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/power/rte_power_intel_uncore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b70780f

Please sign in to comment.