DPDK 25.03.0-rc0
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
13extern "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
52int rte_power_qos_set_cpu_resume_latency(uint16_t lcore_id, int latency);
53
66__rte_experimental
68
69#ifdef __cplusplus
70}
71#endif
72
73#endif /* RTE_POWER_QOS_H */
__rte_experimental int rte_power_qos_get_cpu_resume_latency(uint16_t lcore_id)
__rte_experimental int rte_power_qos_set_cpu_resume_latency(uint16_t lcore_id, int latency)