power: add get capabilities API
authorRadu Nicolau <radu.nicolau@intel.com>
Mon, 11 Jun 2018 10:03:21 +0000 (11:03 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 17:15:14 +0000 (19:15 +0200)
commit185109906b809007a15db1d018100dc74ec37447
treef472d44d6bc57c79a1fb95e47d1274eca11ffc42
parentf68a1d3f2c060ecaa9c100df122aa7ae68d28748
power: add get capabilities API

New API added, rte_power_get_capabilities(), that allows the
application to query the power and performance capabilities
of the CPU cores.

Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Acked-by: David Hunt <david.hunt@intel.com>
lib/librte_power/power_acpi_cpufreq.c
lib/librte_power/power_acpi_cpufreq.h
lib/librte_power/power_kvm_vm.c
lib/librte_power/power_kvm_vm.h
lib/librte_power/rte_power.c
lib/librte_power/rte_power.h
lib/librte_power/rte_power_version.map