DPDK  2.0.0
Data Fields
rte_eth_link Struct Reference

#include <rte_ethdev.h>

Data Fields

uint16_t link_speed
uint16_t link_duplex
uint8_t link_status: 1

Detailed Description

A structure used to retrieve link-level information of an Ethernet port.aligned for atomic64 read/write

Field Documentation

uint16_t link_duplex

ETH_LINK_[HALF_DUPLEX, FULL_DUPLEX]

uint16_t link_speed

ETH_LINK_SPEED_[10, 100, 1000, 10000]

uint8_t link_status

1 -> link up, 0 -> link down


The documentation for this struct was generated from the following file: