DPDK  21.02.0
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 
58 __rte_experimental
59 int
60 rte_power_ethdev_pmgmt_queue_enable(unsigned int lcore_id,
61  uint16_t port_id, uint16_t queue_id,
62  enum rte_power_pmd_mgmt_type mode);
63 
82 __rte_experimental
83 int
84 rte_power_ethdev_pmgmt_queue_disable(unsigned int lcore_id,
85  uint16_t port_id, uint16_t queue_id);
86 
87 #ifdef __cplusplus
88 }
89 #endif
90 
91 #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