DPDK  16.04.0
Data Fields
rte_eth_link Struct Reference

#include <rte_ethdev.h>

Data Fields

uint32_t link_speed
uint16_t link_duplex: 1
uint16_t link_autoneg: 1
uint16_t link_status: 1

Detailed Description

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

Examples:
distributor/main.c, dpdk_qat/main.c, ethtool/lib/rte_ethtool.c, exception_path/main.c, ip_fragmentation/main.c, ip_pipeline/init.c, ip_reassembly/main.c, ipv4_multicast/main.c, kni/main.c, l2fwd-crypto/main.c, l2fwd-ivshmem/host/host.c, l2fwd-jobstats/main.c, l2fwd-keepalive/main.c, l2fwd/main.c, l3fwd-acl/main.c, l3fwd-power/main.c, l3fwd/main.c, link_status_interrupt/main.c, load_balancer/init.c, multi_process/client_server_mp/mp_server/init.c, multi_process/l2fwd_fork/main.c, multi_process/symmetric_mp/main.c, performance-thread/l3fwd-thread/main.c, and qos_sched/init.c.

Definition at line 284 of file rte_ethdev.h.

Field Documentation

uint32_t link_speed

ETH_SPEED_NUM_

Definition at line 285 of file rte_ethdev.h.

uint16_t link_duplex

ETH_LINK_[HALF/FULL]_DUPLEX

Definition at line 286 of file rte_ethdev.h.

uint16_t link_autoneg

ETH_LINK_SPEED_[AUTONEG/FIXED]

Definition at line 287 of file rte_ethdev.h.

uint16_t link_status

ETH_LINK_[DOWN/UP]

Definition at line 288 of file rte_ethdev.h.


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