DPDK  24.11.0-rc3
rte_power_qos.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2024 HiSilicon Limited
3  */
4 
5 #ifndef RTE_POWER_QOS_H
6 #define RTE_POWER_QOS_H
7 
8 #include <stdint.h>
9 
10 #include <rte_compat.h>
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
35 #define RTE_POWER_QOS_STRICT_LATENCY_VALUE 0
36 #define RTE_POWER_QOS_RESUME_LATENCY_NO_CONSTRAINT INT32_MAX
37 
51 __rte_experimental
52 int rte_power_qos_set_cpu_resume_latency(uint16_t lcore_id, int latency);
53 
66 __rte_experimental
67 int rte_power_qos_get_cpu_resume_latency(uint16_t lcore_id);
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif /* RTE_POWER_QOS_H */
__rte_experimental int rte_power_qos_set_cpu_resume_latency(uint16_t lcore_id, int latency)
__rte_experimental int rte_power_qos_get_cpu_resume_latency(uint16_t lcore_id)