[PATCH v1 4/4] config: add uncore defines for x86

2022-07-11 Thread tadhgkearney
Add global define for max numa die and max uncore freqs. Signed-off-by: tadhgkearney --- config/x86/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/x86/meson.build b/config/x86/meson.build index 54345c4da3..f81103d8e3 100644 --- a/config/x86/meson.build +++ b/config/x86

[PATCH v1 3/4] test/power: add unit tests for uncore api

2022-07-11 Thread tadhgkearney
Add basic unit tests covering all seven uncore api's. Signed-off-by: tadhgkearney --- app/test/meson.build | 2 + app/test/test_power_uncore.c | 245 +++ 2 files changed, 247 insertions(+) create mode 100644 app/test/test_power_uncore.c diff --

[PATCH v1 2/4] l3fwd-power: add option to call uncore api

2022-07-11 Thread tadhgkearney
Add option for setting uncore frequency min/max/index, through uncore api. This will be set for each package and die on the SKU. On exit, uncore frequency will be reverted back to previous frequency. Signed-off-by: tadhgkearney --- .../sample_app_ug/l3_forward_power_man.rst| 28

[PATCH v1 1/4] power: add uncore api to power library

2022-07-11 Thread tadhgkearney
Add api to allow uncore frequency adjustment. This is done through manipulating related sysfs entries to adjust the min/max uncore values. Seven api's are being added that are all public and experimental. Power man docs updated to reflect this. Signed-off-by: tadhgkearney --- doc/g

[PATCH v1 0/4] add uncore api to be called through l3fwd-power

2022-07-11 Thread tadhgkearney
This is targeting 22.11 and aims to add an API to DPDK to allow uncore frequency adjustment. This will be called through the l3fwd-power app, and gives the ability to set the min, max and specific frequency index that you want the uncore to be at. tadhgkearney (4): power: add uncore api to