DPDK  24.11.0-rc3
rte_eth_link Struct Reference

#include <rte_ethdev.h>

Detailed Description

A structure used to retrieve link-level information of an Ethernet port.

Examples:
examples/bbdev_app/main.c, examples/distributor/main.c, examples/dma/dmafwd.c, examples/ethtool/lib/rte_ethtool.c, examples/flow_filtering/main.c, examples/ip_fragmentation/main.c, examples/ip_pipeline/cli.c, examples/ip_pipeline/link.c, examples/ip_reassembly/main.c, examples/ipsec-secgw/ipsec-secgw.c, examples/ipv4_multicast/main.c, examples/l2fwd-crypto/main.c, examples/l2fwd-event/main.c, examples/l2fwd-jobstats/main.c, examples/l2fwd-keepalive/main.c, examples/l2fwd-macsec/main.c, examples/l2fwd/main.c, examples/l3fwd-graph/main.c, examples/l3fwd-power/main.c, examples/l3fwd/main.c, examples/link_status_interrupt/main.c, examples/multi_process/client_server_mp/mp_server/init.c, examples/multi_process/symmetric_mp/main.c, examples/ntb/ntb_fwd.c, examples/pipeline/cli.c, examples/qos_sched/init.c, examples/server_node_efd/efd_server/init.c, and examples/vm_power_manager/main.c.

Definition at line 335 of file rte_ethdev.h.

Field Documentation

◆ val64

uint64_t val64

used for atomic64 read/write

Definition at line 337 of file rte_ethdev.h.

◆ link_speed

uint32_t link_speed

◆ link_duplex

uint16_t link_duplex

RTE_ETH_LINK_[HALF/FULL]_DUPLEX

Examples:
examples/bbdev_app/main.c.

Definition at line 341 of file rte_ethdev.h.

◆ link_autoneg

uint16_t link_autoneg

RTE_ETH_LINK_[AUTONEG/FIXED]

Definition at line 342 of file rte_ethdev.h.

◆ link_status

uint16_t link_status

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