6 #ifndef RTE_POWER_UNCORE_H 7 #define RTE_POWER_UNCORE_H 14 #include "power_uncore_ops.h" 21 enum rte_uncore_power_mgmt_env {
22 RTE_UNCORE_PM_ENV_NOT_SET,
23 RTE_UNCORE_PM_ENV_AUTO_DETECT,
24 RTE_UNCORE_PM_ENV_INTEL_UNCORE,
25 RTE_UNCORE_PM_ENV_AMD_HSMP
207 uint32_t *freqs, uint32_t num);
unsigned int rte_power_uncore_get_num_dies(unsigned int pkg)
uint32_t rte_power_get_uncore_freq(unsigned int pkg, unsigned int die)
int rte_power_uncore_init(unsigned int pkg, unsigned int die)
int rte_power_uncore_exit(unsigned int pkg, unsigned int die)
unsigned int rte_power_uncore_get_num_pkgs(void)
__rte_experimental enum rte_uncore_power_mgmt_env rte_power_get_uncore_env(void)
int rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index)
__rte_experimental int rte_power_uncore_freqs(unsigned int pkg, unsigned int die, uint32_t *freqs, uint32_t num)
int rte_power_uncore_freq_max(unsigned int pkg, unsigned int die)
int rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die)
int rte_power_uncore_freq_min(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_set_uncore_env(enum rte_uncore_power_mgmt_env env)
__rte_experimental void rte_power_unset_uncore_env(void)