]> git.droids-corp.org - dpdk.git/commit
power: add get/set min/max scaling frequencies API
authorKevin Laatz <kevin.laatz@intel.com>
Thu, 2 Jun 2022 15:13:38 +0000 (16:13 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 4 Jun 2022 20:39:49 +0000 (22:39 +0200)
commit42651168376222bafd4ab307e530be6ba44fb55c
tree240bf39ab1cb76a054170e80eb6edb9216f3882d
parent4a8fbc28e4311eadbde1e6818c2d5f93fd3bfda5
power: add get/set min/max scaling frequencies API

Add new get/set API to allow the user or application to set the minimum
and maximum frequencies to use when scaling.
Previously, the frequency range was determined by the HW capabilities of
the CPU. With this new API, the user or application can constrain this
if required.

Signed-off-by: Kevin Laatz <kevin.laatz@intel.com>
Acked-by: Ray Kinsella <mdr@ashroe.eu>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Tested-by: David Hunt <david.hunt@intel.com>
doc/guides/prog_guide/power_man.rst
lib/power/power_pstate_cpufreq.c
lib/power/rte_power_pmd_mgmt.c
lib/power/rte_power_pmd_mgmt.h
lib/power/version.map