DPDK  2.1.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

Definition at line 243 of file rte_ethdev.h.

Field Documentation

uint16_t link_speed

ETH_LINK_SPEED_[10, 100, 1000, 10000]

Definition at line 244 of file rte_ethdev.h.

uint16_t link_duplex

ETH_LINK_[HALF_DUPLEX, FULL_DUPLEX]

Definition at line 245 of file rte_ethdev.h.

uint8_t link_status

1 -> link up, 0 -> link down

Definition at line 246 of file rte_ethdev.h.


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