DPDK  23.03.0
rte_power_intel_uncore.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2022 Intel Corporation
3  */
4 
5 #ifndef RTE_POWER_INTEL_UNCORE_H
6 #define RTE_POWER_INTEL_UNCORE_H
7 
13 #include <rte_compat.h>
14 #include "rte_power.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
37 __rte_experimental
38 int
39 rte_power_uncore_init(unsigned int pkg, unsigned int die);
40 
59 __rte_experimental
60 int
61 rte_power_uncore_exit(unsigned int pkg, unsigned int die);
62 
80 __rte_experimental
81 uint32_t
82 rte_power_get_uncore_freq(unsigned int pkg, unsigned int die);
83 
105 __rte_experimental
106 int
107 rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index);
108 
128 __rte_experimental
129 int
130 rte_power_uncore_freq_max(unsigned int pkg, unsigned int die);
131 
151 __rte_experimental
152 int
153 rte_power_uncore_freq_min(unsigned int pkg, unsigned int die);
154 
171 __rte_experimental
172 int
173 rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die);
174 
185 __rte_experimental
186 unsigned int
188 
203 __rte_experimental
204 unsigned int
205 rte_power_uncore_get_num_dies(unsigned int pkg);
206 
207 #ifdef __cplusplus
208 }
209 #endif
210 
211 #endif /* RTE_POWER_INTEL_UNCORE_H */
__rte_experimental unsigned int rte_power_uncore_get_num_dies(unsigned int pkg)
__rte_experimental int rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index)
__rte_experimental uint32_t rte_power_get_uncore_freq(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_uncore_freq_min(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_uncore_freq_max(unsigned int pkg, unsigned int die)
__rte_experimental unsigned int rte_power_uncore_get_num_pkgs(void)
__rte_experimental int rte_power_uncore_init(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_uncore_exit(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die)