6 #ifndef RTE_POWER_UNCORE_H 7 #define RTE_POWER_UNCORE_H 14 #include <rte_compat.h> 22 enum rte_uncore_power_mgmt_env {
23 RTE_UNCORE_PM_ENV_NOT_SET,
24 RTE_UNCORE_PM_ENV_AUTO_DETECT,
25 RTE_UNCORE_PM_ENV_INTEL_UNCORE,
26 RTE_UNCORE_PM_ENV_AMD_HSMP
204 uint32_t *freqs, uint32_t num);
int rte_power_uncore_init(unsigned int pkg, unsigned int die)
int(* rte_power_uncore_freqs_t)(unsigned int pkg, unsigned int die, uint32_t *freqs, uint32_t num)
int rte_power_uncore_exit(unsigned int pkg, unsigned int die)
__rte_experimental enum rte_uncore_power_mgmt_env rte_power_get_uncore_env(void)
unsigned int(* rte_power_uncore_get_num_dies_t)(unsigned int pkg)
uint32_t(* rte_power_get_uncore_freq_t)(unsigned int pkg, unsigned int die)
int(* rte_power_uncore_get_num_freqs_t)(unsigned int pkg, unsigned int die)
rte_power_uncore_freq_change_t rte_power_uncore_freq_max
int(* rte_power_uncore_freq_change_t)(unsigned int pkg, unsigned int die)
int(* rte_power_set_uncore_freq_t)(unsigned int pkg, unsigned int die, uint32_t index)
rte_power_uncore_freq_change_t rte_power_uncore_freq_min
unsigned int(* rte_power_uncore_get_num_pkgs_t)(void)
__rte_experimental int rte_power_set_uncore_env(enum rte_uncore_power_mgmt_env env)
__rte_experimental void rte_power_unset_uncore_env(void)