DPDK 22.11.5
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
17extern "C" {
18#endif
19
37__rte_experimental
38int
39rte_power_uncore_init(unsigned int pkg, unsigned int die);
40
59__rte_experimental
60int
61rte_power_uncore_exit(unsigned int pkg, unsigned int die);
62
80__rte_experimental
81uint32_t
82rte_power_get_uncore_freq(unsigned int pkg, unsigned int die);
83
105__rte_experimental
106int
107rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index);
108
128__rte_experimental
129int
130rte_power_uncore_freq_max(unsigned int pkg, unsigned int die);
131
151__rte_experimental
152int
153rte_power_uncore_freq_min(unsigned int pkg, unsigned int die);
154
171__rte_experimental
172int
173rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die);
174
185__rte_experimental
186unsigned int
188
203__rte_experimental
204unsigned int
206
207#ifdef __cplusplus
208}
209#endif
210
211#endif /* RTE_POWER_INTEL_UNCORE_H */
__rte_experimental int rte_power_uncore_freq_min(unsigned int pkg, unsigned int die)
__rte_experimental uint32_t rte_power_get_uncore_freq(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_set_uncore_freq(unsigned int pkg, unsigned int die, uint32_t index)
__rte_experimental int rte_power_uncore_init(unsigned int pkg, unsigned int die)
__rte_experimental unsigned int rte_power_uncore_get_num_pkgs(void)
__rte_experimental int rte_power_uncore_freq_max(unsigned int pkg, unsigned int die)
__rte_experimental unsigned int rte_power_uncore_get_num_dies(unsigned int pkg)
__rte_experimental int rte_power_uncore_get_num_freqs(unsigned int pkg, unsigned int die)
__rte_experimental int rte_power_uncore_exit(unsigned int pkg, unsigned int die)