DPDK
25.11.0
Toggle main menu visibility
Loading...
Searching...
No Matches
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
34
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_power_qos_get_cpu_resume_latency
__rte_experimental int rte_power_qos_get_cpu_resume_latency(uint16_t lcore_id)
rte_power_qos_set_cpu_resume_latency
__rte_experimental int rte_power_qos_set_cpu_resume_latency(uint16_t lcore_id, int latency)
lib
power
rte_power_qos.h
Generated by
1.17.0