|
DPDK
21.02.0
|
#include <stdint.h>#include <stdbool.h>#include <rte_common.h>#include <rte_byteorder.h>#include <rte_log.h>#include <rte_power.h>#include <rte_atomic.h>Go to the source code of this file.
Enumerations | |
| enum | rte_power_pmd_mgmt_type { RTE_POWER_MGMT_TYPE_MONITOR = 1, RTE_POWER_MGMT_TYPE_PAUSE, RTE_POWER_MGMT_TYPE_SCALE } |
Functions | |
| __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 PMD Power Management
Definition in file rte_power_pmd_mgmt.h.
PMD Power Management Type
Definition at line 29 of file rte_power_pmd_mgmt.h.
| __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 | ||
| ) |
Enable power management on a specified Ethernet device Rx queue and lcore.
| lcore_id | The lcore the Rx queue will be polled from. |
| port_id | The port identifier of the Ethernet device. |
| queue_id | The queue identifier of the Ethernet device. |
| mode | The power management scheme to use for specified Rx queue. |
| __rte_experimental int rte_power_ethdev_pmgmt_queue_disable | ( | unsigned int | lcore_id, |
| uint16_t | port_id, | ||
| uint16_t | queue_id | ||
| ) |
Disable power management on a specified Ethernet device Rx queue and lcore.
| lcore_id | The lcore the Rx queue is polled from. |
| port_id | The port identifier of the Ethernet device. |
| queue_id | The queue identifier of the Ethernet device. |
1.8.9.1