DPDK
2.2.0
|
#include <rte_ethdev.h>
Data Fields | |
uint16_t | link_speed |
uint16_t | link_duplex |
uint8_t | link_status: 1 |
A structure used to retrieve link-level information of an Ethernet port.aligned for atomic64 read/write
Definition at line 247 of file rte_ethdev.h.
uint16_t link_speed |
ETH_LINK_SPEED_[10, 100, 1000, 10000]
Definition at line 248 of file rte_ethdev.h.
uint16_t link_duplex |
ETH_LINK_[HALF_DUPLEX, FULL_DUPLEX]
Definition at line 249 of file rte_ethdev.h.
uint8_t link_status |
1 -> link up, 0 -> link down
Definition at line 250 of file rte_ethdev.h.