DPDK  21.11.7
rte_power_pmd_mgmt.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2020 Intel Corporation
3  */
4 
5 #ifndef _RTE_POWER_PMD_MGMT_H
6 #define _RTE_POWER_PMD_MGMT_H
7 
13 #include <stdint.h>
14 #include <stdbool.h>
15 
16 #include <rte_common.h>
17 #include <rte_byteorder.h>
18 #include <rte_log.h>
19 #include <rte_power.h>
20 #include <rte_atomic.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
36 };
37 
61 __rte_experimental
62 int
63 rte_power_ethdev_pmgmt_queue_enable(unsigned int lcore_id,
64  uint16_t port_id, uint16_t queue_id,
65  enum rte_power_pmd_mgmt_type mode);
66 
88 __rte_experimental
89 int
90 rte_power_ethdev_pmgmt_queue_disable(unsigned int lcore_id,
91  uint16_t port_id, uint16_t queue_id);
92 
93 #ifdef __cplusplus
94 }
95 #endif
96 
97 #endif
__rte_experimental int rte_power_ethdev_pmgmt_queue_enable(unsigned int lcore_id, uint16_t port_id, uint16_t queue_id, enum rte_power_pmd_mgmt_type mode)
__rte_experimental int rte_power_ethdev_pmgmt_queue_disable(unsigned int lcore_id, uint16_t port_id, uint16_t queue_id)
rte_power_pmd_mgmt_type