15 #include <rte_power_guest_channel.h> 22 enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM,
23 PM_ENV_PSTATE_CPUFREQ, PM_ENV_CPPC_CPUFREQ,
24 PM_ENV_AMD_PSTATE_CPUFREQ};
216 uint64_t capabilities;
void rte_power_unset_env(void)
rte_power_freq_change_t rte_power_freq_up
rte_power_freq_change_t rte_power_freq_down
uint32_t(* rte_power_get_freq_t)(unsigned int lcore_id)
uint32_t(* rte_power_freqs_t)(unsigned int lcore_id, uint32_t *freqs, uint32_t num)
int(* rte_power_set_freq_t)(unsigned int lcore_id, uint32_t index)
rte_power_freq_change_t rte_power_freq_enable_turbo
enum power_management_env rte_power_get_env(void)
rte_power_freq_change_t rte_power_freq_max
int(* rte_power_freq_change_t)(unsigned int lcore_id)
rte_power_freq_change_t rte_power_freq_min
rte_power_freq_change_t rte_power_turbo_status
int rte_power_set_env(enum power_management_env env)
rte_power_freq_change_t rte_power_freq_disable_turbo
int rte_power_init(unsigned int lcore_id)
int(* rte_power_get_capabilities_t)(unsigned int lcore_id, struct rte_power_core_capabilities *caps)
int rte_power_check_env_supported(enum power_management_env env)
int rte_power_exit(unsigned int lcore_id)