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.
Signed-off-by: Tadhg Kearney <tadhg.kear...@intel.com> --- v2: Fix compilation warnings and errors. Tadhg Kearney (3): power: add uncore API to power library test/power: add unit tests for uncore API l3fwd-power: add option to call uncore API app/test/meson.build | 2 + app/test/test_power_uncore.c | 245 +++++++++++ config/x86/meson.build | 2 + doc/guides/prog_guide/power_man.rst | 27 ++ .../sample_app_ug/l3_forward_power_man.rst | 28 ++ examples/l3fwd-power/main.c | 190 ++++++++- lib/power/meson.build | 2 + lib/power/rte_power_uncore.c | 399 ++++++++++++++++++ lib/power/rte_power_uncore.h | 159 +++++++ lib/power/version.map | 7 + 10 files changed, 1045 insertions(+), 16 deletions(-) create mode 100644 app/test/test_power_uncore.c create mode 100644 lib/power/rte_power_uncore.c create mode 100644 lib/power/rte_power_uncore.h -- 2.25.1