The Linux Kernel Logo
  • Development process
  • Submitting patches
  • Code of conduct
  • Maintainer handbook
  • All development-process docs
  • Core API
  • Driver APIs
  • Subsystems
    • Core subsystems
    • Human interfaces
    • Networking interfaces
      • Networking
        • AF_XDP
        • Bare UDP Tunnelling Module Documentation
        • batman-adv
        • SocketCAN - Controller Area Network
        • The UCAN Protocol
        • Hardware Device Drivers
        • Networking Diagnostics
        • Distributed Switch Architecture
        • Linux Devlink Documentation
        • CAIF
        • Netlink interface for ethtool
        • IEEE 802.15.4 Developer’s Guide
        • ISO 15765-2 (ISO-TP)
        • J1939 Documentation
        • Linux Networking and Network Devices APIs
        • MSG_ZEROCOPY
        • FAILOVER
        • Net DIM - Generic Network Dynamic Interrupt Moderation
        • NET_FAILOVER
        • Page Pool API
        • PHY Abstraction Layer
        • phylink
        • IP-Aliasing
        • Ethernet Bridging
        • SNMP counter
        • Checksum Offloads
        • Segmentation Offloads
        • Scaling in the Linux Networking Stack
        • Kernel TLS
        • Kernel TLS offload
        • In-Kernel TLS Handshake
        • Linux NFC subsystem
        • Netdev private dataroom for 6lowpan interfaces
        • 6pack Protocol
        • ARCnet Hardware
        • ARCnet
        • ATM
        • AX.25
        • Linux Ethernet Bonding Driver HOWTO
        • cdc_mbim - Driver for CDC MBIM Mobile Broadband modems
        • DCTCP (DataCenter TCP)
        • Device Memory TCP
        • DNS Resolver Module
        • Softnet Driver Issues
        • EQL Driver: Serial IP Load Balancing HOWTO
        • LC-trie implementation notes
        • Linux Socket Filtering aka Berkeley Packet Filter (BPF)
        • Generic HDLC layer
        • Generic Netlink
        • Netlink Family Specifications
          • Family conntrack netlink specification
          • Family devlink netlink specification
          • Family dpll netlink specification
          • Family ethtool netlink specification
            • Summary
            • Operations
              • strset-get
              • linkinfo-get
              • linkinfo-set
              • linkinfo-ntf
              • linkmodes-get
              • linkmodes-set
              • linkmodes-ntf
              • linkstate-get
              • debug-get
              • debug-set
              • debug-ntf
              • wol-get
              • wol-set
              • wol-ntf
              • features-get
              • features-set
              • features-ntf
              • privflags-get
              • privflags-set
              • privflags-ntf
              • rings-get
              • rings-set
              • rings-ntf
              • channels-get
              • channels-set
              • channels-ntf
              • coalesce-get
              • coalesce-set
              • coalesce-ntf
              • pause-get
              • pause-set
              • pause-ntf
              • eee-get
              • eee-set
              • eee-ntf
              • tsinfo-get
              • cable-test-act
              • cable-test-ntf
              • cable-test-tdr-act
              • cable-test-tdr-ntf
              • tunnel-info-get
              • fec-get
              • fec-set
              • fec-ntf
              • module-eeprom-get
              • stats-get
              • phc-vclocks-get
              • module-get
              • module-set
              • module-ntf
              • pse-get
              • pse-set
              • rss-get
              • plca-get-cfg
              • plca-set-cfg
              • plca-get-status
              • plca-ntf
              • mm-get
              • mm-set
              • mm-ntf
              • module-fw-flash-act
              • module-fw-flash-ntf
              • phy-get
              • phy-ntf
              • tsconfig-get
              • tsconfig-set
              • pse-ntf
              • rss-set
              • rss-ntf
              • rss-create-act
              • rss-create-ntf
              • rss-delete-act
              • rss-delete-ntf
            • Multicast groups
            • Definitions
              • udp-tunnel-type
              • stringset
              • header-flags
              • module-fw-flash-status
              • c33-pse-ext-state
              • phy-upstream-type
              • tcp-data-split
              • hwtstamp-source
              • pse-event
              • input-xfrm
              • rxfh-fields
            • Attribute sets
              • header
                • unspec (unused)
                • dev-index (u32)
                • dev-name (string)
                • flags (u32)
                • phy-index (u32)
              • bitset-bit
                • unspec (unused)
                • index (u32)
                • name (string)
                • value (flag)
              • bitset-bits
                • unspec (unused)
                • bit (nest)
              • bitset
                • unspec (unused)
                • nomask (flag)
                • size (u32)
                • bits (nest)
                • value (binary)
                • mask (binary)
              • string
                • unspec (unused)
                • index (u32)
                • value (string)
              • strings
                • unspec (unused)
                • unspec (unused)
                • string (nest)
              • stringset
                • unspec (unused)
                • id (u32)
                • count (u32)
                • strings (nest)
              • stringsets
                • unspec (unused)
                • stringset (nest)
              • strset
                • unspec (unused)
                • header (nest)
                • stringsets (nest)
                • counts-only (flag)
              • privflags
                • unspec (unused)
                • header (nest)
                • flags (nest)
              • rings
                • unspec (unused)
                • header (nest)
                • rx-max (u32)
                • rx-mini-max (u32)
                • rx-jumbo-max (u32)
                • tx-max (u32)
                • rx (u32)
                • rx-mini (u32)
                • rx-jumbo (u32)
                • tx (u32)
                • rx-buf-len (u32)
                • tcp-data-split (u8)
                • cqe-size (u32)
                • tx-push (u8)
                • rx-push (u8)
                • tx-push-buf-len (u32)
                • tx-push-buf-len-max (u32)
                • hds-thresh (u32)
                • hds-thresh-max (u32)
              • mm-stat
                • unspec (unused)
                • pad (pad)
                • reassembly-errors (u64)
                • smd-errors (u64)
                • reassembly-ok (u64)
                • rx-frag-count (u64)
                • tx-frag-count (u64)
                • hold-count (u64)
              • mm
                • unspec (unused)
                • header (nest)
                • pmac-enabled (u8)
                • tx-enabled (u8)
                • tx-active (u8)
                • tx-min-frag-size (u32)
                • rx-min-frag-size (u32)
                • verify-enabled (u8)
                • verify-status (u8)
                • verify-time (u32)
                • max-verify-time (u32)
                • stats (nest)
              • linkinfo
                • unspec (unused)
                • header (nest)
                • port (u8)
                • phyaddr (u8)
                • tp-mdix (u8)
                • tp-mdix-ctrl (u8)
                • transceiver (u8)
              • linkmodes
                • unspec (unused)
                • header (nest)
                • autoneg (u8)
                • ours (nest)
                • peer (nest)
                • speed (u32)
                • duplex (u8)
                • master-slave-cfg (u8)
                • master-slave-state (u8)
                • lanes (u32)
                • rate-matching (u8)
              • linkstate
                • unspec (unused)
                • header (nest)
                • link (u8)
                • sqi (u32)
                • sqi-max (u32)
                • ext-state (u8)
                • ext-substate (u8)
                • ext-down-cnt (u32)
              • debug
                • unspec (unused)
                • header (nest)
                • msgmask (nest)
              • wol
                • unspec (unused)
                • header (nest)
                • modes (nest)
                • sopass (binary)
              • features
                • unspec (unused)
                • header (nest)
                • hw (nest)
                • wanted (nest)
                • active (nest)
                • nochange (nest)
              • channels
                • unspec (unused)
                • header (nest)
                • rx-max (u32)
                • tx-max (u32)
                • other-max (u32)
                • combined-max (u32)
                • rx-count (u32)
                • tx-count (u32)
                • other-count (u32)
                • combined-count (u32)
              • irq-moderation
                • unspec (unused)
                • usec (u32)
                • pkts (u32)
                • comps (u32)
              • profile
                • unspec (unused)
                • irq-moderation (nest)
              • coalesce
                • unspec (unused)
                • header (nest)
                • rx-usecs (u32)
                • rx-max-frames (u32)
                • rx-usecs-irq (u32)
                • rx-max-frames-irq (u32)
                • tx-usecs (u32)
                • tx-max-frames (u32)
                • tx-usecs-irq (u32)
                • tx-max-frames-irq (u32)
                • stats-block-usecs (u32)
                • use-adaptive-rx (u8)
                • use-adaptive-tx (u8)
                • pkt-rate-low (u32)
                • rx-usecs-low (u32)
                • rx-max-frames-low (u32)
                • tx-usecs-low (u32)
                • tx-max-frames-low (u32)
                • pkt-rate-high (u32)
                • rx-usecs-high (u32)
                • rx-max-frames-high (u32)
                • tx-usecs-high (u32)
                • tx-max-frames-high (u32)
                • rate-sample-interval (u32)
                • use-cqe-mode-tx (u8)
                • use-cqe-mode-rx (u8)
                • tx-aggr-max-bytes (u32)
                • tx-aggr-max-frames (u32)
                • tx-aggr-time-usecs (u32)
                • rx-profile (nest)
                • tx-profile (nest)
              • pause-stat
                • unspec (unused)
                • pad (pad)
                • tx-frames (u64)
                • rx-frames (u64)
              • pause
                • unspec (unused)
                • header (nest)
                • autoneg (u8)
                • rx (u8)
                • tx (u8)
                • stats (nest)
                • stats-src (u32)
              • eee
                • unspec (unused)
                • header (nest)
                • modes-ours (nest)
                • modes-peer (nest)
                • active (u8)
                • enabled (u8)
                • tx-lpi-enabled (u8)
                • tx-lpi-timer (u32)
              • ts-stat
                • unspec (unused)
                • tx-pkts (uint)
                • tx-lost (uint)
                • tx-err (uint)
                • tx-onestep-pkts-unconfirmed (uint)
              • ts-hwtstamp-provider
                • unspec (unused)
                • index (u32)
                • qualifier (u32)
              • tsinfo
                • unspec (unused)
                • header (nest)
                • timestamping (nest)
                • tx-types (nest)
                • rx-filters (nest)
                • phc-index (u32)
                • stats (nest)
                • hwtstamp-provider (nest)
                • hwtstamp-source (u32)
                • hwtstamp-phyindex (u32)
              • cable-result
                • unspec (unused)
                • pair (u8)
                • code (u8)
                • src (u32)
              • cable-fault-length
                • unspec (unused)
                • pair (u8)
                • cm (u32)
                • src (u32)
              • cable-nest
                • unspec (unused)
                • result (nest)
                • fault-length (nest)
              • cable-test
                • unspec (unused)
                • header (nest)
              • cable-test-ntf
                • unspec (unused)
                • header (nest)
                • status (u8)
                • nest (nest)
              • cable-test-tdr-cfg
                • unspec (unused)
                • first (u32)
                • last (u32)
                • step (u32)
                • pair (u8)
              • cable-test-tdr-ntf
                • unspec (unused)
                • header (nest)
                • status (u8)
                • nest (nest)
              • cable-test-tdr
                • unspec (unused)
                • header (nest)
                • cfg (nest)
              • tunnel-udp-entry
                • unspec (unused)
                • port (u16)
                • type (u32)
              • tunnel-udp-table
                • unspec (unused)
                • size (u32)
                • types (nest)
                • entry (nest)
              • tunnel-udp
                • unspec (unused)
                • table (nest)
              • tunnel-info
                • unspec (unused)
                • header (nest)
                • udp-ports (nest)
              • fec-stat
                • unspec (unused)
                • pad (pad)
                • corrected (binary)
                • uncorr (binary)
                • corr-bits (binary)
              • fec
                • unspec (unused)
                • header (nest)
                • modes (nest)
                • auto (u8)
                • active (u32)
                • stats (nest)
              • module-eeprom
                • unspec (unused)
                • header (nest)
                • offset (u32)
                • length (u32)
                • page (u8)
                • bank (u8)
                • i2c-address (u8)
                • data (binary)
              • stats-grp
                • unspec (unused)
                • pad (pad)
                • id (u32)
                • ss-id (u32)
                • stat (u64)
                • hist-rx (nest)
                • hist-tx (nest)
                • hist-bkt-low (u32)
                • hist-bkt-hi (u32)
                • hist-val (u64)
              • stats-grp-hist
                • hist-bkt-low
                • hist-bkt-hi
                • hist-val
              • stats
                • unspec (unused)
                • pad (pad)
                • header (nest)
                • groups (nest)
                • grp (nest)
                • src (u32)
              • phc-vclocks
                • unspec (unused)
                • header (nest)
                • num (u32)
                • index (binary)
              • module
                • unspec (unused)
                • header (nest)
                • power-mode-policy (u8)
                • power-mode (u8)
              • c33-pse-pw-limit
                • unspec (unused)
                • min (u32)
                • max (u32)
              • pse
                • unspec (unused)
                • header (nest)
                • podl-pse-admin-state (u32)
                • podl-pse-admin-control (u32)
                • podl-pse-pw-d-status (u32)
                • c33-pse-admin-state (u32)
                • c33-pse-admin-control (u32)
                • c33-pse-pw-d-status (u32)
                • c33-pse-pw-class (u32)
                • c33-pse-actual-pw (u32)
                • c33-pse-ext-state (u32)
                • c33-pse-ext-substate (u32)
                • c33-pse-avail-pw-limit (u32)
                • c33-pse-pw-limit-ranges (nest)
                • pse-pw-d-id (u32)
                • pse-prio-max (u32)
                • pse-prio (u32)
              • flow
                • ether (uint)
                • ip4 (uint)
                • ip6 (uint)
                • tcp4 (uint)
                • tcp6 (uint)
                • udp4 (uint)
                • udp6 (uint)
                • sctp4 (uint)
                • sctp6 (uint)
                • ah4 (uint)
                • ah6 (uint)
                • esp4 (uint)
                • esp6 (uint)
                • ah-esp4 (uint)
                • ah-esp6 (uint)
                • gtpu4 (uint)
                • gtpu6 (uint)
                • gtpc4 (uint)
                • gtpc6 (uint)
                • gtpc-teid4 (uint)
                • gtpc-teid6 (uint)
                • gtpu-eh4 (uint)
                • gtpu-eh6 (uint)
                • gtpu-ul4 (uint)
                • gtpu-ul6 (uint)
                • gtpu-dl4 (uint)
                • gtpu-dl6 (uint)
              • rss
                • unspec (unused)
                • header (nest)
                • context (u32)
                • hfunc (u32)
                • indir (binary)
                • hkey (binary)
                • input-xfrm (u32)
                • start-context (u32)
                • flow-hash (nest)
              • plca
                • unspec (unused)
                • header (nest)
                • version (u16)
                • enabled (u8)
                • status (u8)
                • node-cnt (u32)
                • node-id (u32)
                • to-tmr (u32)
                • burst-cnt (u32)
                • burst-tmr (u32)
              • module-fw-flash
                • unspec (unused)
                • header (nest)
                • file-name (string)
                • password (u32)
                • status (u32)
                • status-msg (string)
                • done (uint)
                • total (uint)
              • phy
                • unspec (unused)
                • header (nest)
                • index (u32)
                • drvname (string)
                • name (string)
                • upstream-type (u32)
                • upstream-index (u32)
                • upstream-sfp-name (string)
                • downstream-sfp-name (string)
              • tsconfig
                • unspec (unused)
                • header (nest)
                • hwtstamp-provider (nest)
                • tx-types (nest)
                • rx-filters (nest)
                • hwtstamp-flags (nest)
              • pse-ntf
                • header (nest)
                • events (uint)
          • Family fou netlink specification
          • Family handshake netlink specification
          • Family lockd netlink specification
          • Family mptcp_pm netlink specification
          • Family net-shaper netlink specification
          • Family netdev netlink specification
          • Family nfsd netlink specification
          • Family nftables netlink specification
          • Family nl80211 netlink specification
          • Family nlctrl netlink specification
          • Family ovpn netlink specification
          • Family ovs_datapath netlink specification
          • Family ovs_flow netlink specification
          • Family ovs_vport netlink specification
          • Family rt-addr netlink specification
          • Family rt-link netlink specification
          • Family rt-neigh netlink specification
          • Family rt-route netlink specification
          • Family rt-rule netlink specification
          • Family tc netlink specification
          • Family tcp_metrics netlink specification
          • Family team netlink specification
        • Generic networking statistics for netlink users
        • The Linux kernel GTP tunneling module
        • Identifier Locator Addressing (ILA)
        • IOAM6 Sysfs variables
        • io_uring zero copy Rx
        • IP dynamic address hack-port v0.03
        • IPsec
        • IP Sysctl
        • IPv6
        • IPVLAN Driver HOWTO
        • IPvs-sysctl
        • Kernel Connection Multiplexor
        • L2TP
        • The Linux LAPB Module Interface
        • How to use packet injection with mac80211
        • Management Component Transport Protocol (MCTP)
        • MPLS Sysfs variables
        • Multipath TCP (MPTCP)
        • MPTCP Sysfs variables
        • HOWTO for multiqueue network device support
        • Multi-PF Netdev
        • NAPI
        • Common Networking Struct Cachelines
        • Netconsole
        • Netdev features mess and how to get out from it alive
        • Network Devices, the Kernel, and You!
        • Netfilter Sysfs variables
        • NETIF Msg Level
        • Netmem Support for Network Drivers
        • Resilient Next-hop Groups
        • Netfilter Conntrack Sysfs variables
        • Netfilter’s flowtable infrastructure
        • OPEN Alliance 10BASE-T1x MAC-PHY Serial Interface (TC6) Framework Support
        • Open vSwitch datapath developer documentation
        • Operational States
        • Packet MMAP
        • Linux Phonet protocol family
        • PHY link topology
        • HOWTO for the linux packet generator
        • PLIP: The Parallel Line Internet Protocol Device
        • PPP Generic Driver and Channel Interface
        • The proc/net/tcp and proc/net/tcp6 variables
        • Power Sourcing Equipment (PSE) Documentation
        • How to use radiotap headers
        • RDS
        • Linux wireless regulatory documentation
        • Network Function Representors
        • RxRPC Network Protocol
        • SOCKET OPTIONS
        • SECURITY
        • EXAMPLE CLIENT USAGE
        • Linux Kernel SCTP
        • LSM/SeLinux secid
        • Seg6 Sysfs variables
        • struct sk_buff
        • SMC Sysctl
        • NIC SR-IOV APIs
        • Interface statistics
        • Stream Parser (strparser)
        • Ethernet switch device driver model (switchdev)
        • Sysfs tagging
        • TC Actions - Environmental Rules
        • TC queue based filtering
        • TCP Authentication Option Linux implementation (RFC5925)
        • Thin-streams and TCP
        • Team
        • Timestamping
        • Linux Kernel TIPC
        • Transparent proxy support
        • Universal TUN/TAP device driver
        • The UDP-Lite protocol (RFC 3828)
        • Virtual Routing and Forwarding (VRF)
        • Virtual eXtensible Local Area Networking documentation
        • Linux X.25 Project
        • X.25 Device Driver Interface
        • XFRM device - offloading the IPsec computations
        • XFRM proc - /proc/net/xfrm_* files
        • XFRM
        • XFRM Syscall
        • XDP RX Metadata
        • AF_XDP TX Metadata
      • NetLabel
      • InfiniBand
      • ISDN
      • MHI
    • Storage interfaces
    • Other subsystems
  • Locking
  • Licensing rules
  • Writing documentation
  • Development tools
  • Testing guide
  • Hacking guide
  • Tracing
  • Fault injection
  • Livepatching
  • Rust
  • Administration
  • Build system
  • Reporting issues
  • Userspace tools
  • Userspace API
  • Firmware
  • Firmware and Devicetree
  • CPU architectures
  • Unsorted documentation
  • Translations
The Linux Kernel
  • Kernel subsystem documentation
  • Networking
  • Netlink Family Specifications
  • Family ethtool netlink specification
  • View page source

Family ethtool netlink specification¶

Contents

  • Family ethtool netlink specification

    • Summary

    • Operations

      • strset-get

      • linkinfo-get

      • linkinfo-set

      • linkinfo-ntf

      • linkmodes-get

      • linkmodes-set

      • linkmodes-ntf

      • linkstate-get

      • debug-get

      • debug-set

      • debug-ntf

      • wol-get

      • wol-set

      • wol-ntf

      • features-get

      • features-set

      • features-ntf

      • privflags-get

      • privflags-set

      • privflags-ntf

      • rings-get

      • rings-set

      • rings-ntf

      • channels-get

      • channels-set

      • channels-ntf

      • coalesce-get

      • coalesce-set

      • coalesce-ntf

      • pause-get

      • pause-set

      • pause-ntf

      • eee-get

      • eee-set

      • eee-ntf

      • tsinfo-get

      • cable-test-act

      • cable-test-ntf

      • cable-test-tdr-act

      • cable-test-tdr-ntf

      • tunnel-info-get

      • fec-get

      • fec-set

      • fec-ntf

      • module-eeprom-get

      • stats-get

      • phc-vclocks-get

      • module-get

      • module-set

      • module-ntf

      • pse-get

      • pse-set

      • rss-get

      • plca-get-cfg

      • plca-set-cfg

      • plca-get-status

      • plca-ntf

      • mm-get

      • mm-set

      • mm-ntf

      • module-fw-flash-act

      • module-fw-flash-ntf

      • phy-get

      • phy-ntf

      • tsconfig-get

      • tsconfig-set

      • pse-ntf

      • rss-set

      • rss-ntf

      • rss-create-act

      • rss-create-ntf

      • rss-delete-act

      • rss-delete-ntf

    • Multicast groups

    • Definitions

      • udp-tunnel-type

      • stringset

      • header-flags

      • module-fw-flash-status

      • c33-pse-ext-state

      • phy-upstream-type

      • tcp-data-split

      • hwtstamp-source

      • pse-event

      • input-xfrm

      • rxfh-fields

    • Attribute sets

      • header

      • bitset-bit

      • bitset-bits

      • bitset

      • string

      • strings

      • stringset

      • stringsets

      • strset

      • privflags

      • rings

      • mm-stat

      • mm

      • linkinfo

      • linkmodes

      • linkstate

      • debug

      • wol

      • features

      • channels

      • irq-moderation

      • profile

      • coalesce

      • pause-stat

      • pause

      • eee

      • ts-stat

      • ts-hwtstamp-provider

      • tsinfo

      • cable-result

      • cable-fault-length

      • cable-nest

      • cable-test

      • cable-test-ntf

      • cable-test-tdr-cfg

      • cable-test-tdr-ntf

      • cable-test-tdr

      • tunnel-udp-entry

      • tunnel-udp-table

      • tunnel-udp

      • tunnel-info

      • fec-stat

      • fec

      • module-eeprom

      • stats-grp

      • stats-grp-hist

      • stats

      • phc-vclocks

      • module

      • c33-pse-pw-limit

      • pse

      • flow

      • rss

      • plca

      • module-fw-flash

      • phy

      • tsconfig

      • pse-ntf

Summary¶

Partial family for Ethtool Netlink.

Operations¶

strset-get¶

Get string set from the kernel.

attribute-set:

strset

do:
request
attributes:

[header, stringsets, counts-only]

reply
attributes:

[header, stringsets]

dump:
request
attributes:

[header, stringsets, counts-only]

reply
attributes:

[header, stringsets]

linkinfo-get¶

Get link info.

attribute-set:

linkinfo

do:
request
attributes:

[header]

reply
attributes:

[header, port, phyaddr, tp-mdix, tp-mdix-ctrl, transceiver]

dump:
request
attributes:

[header]

reply
attributes:

[header, port, phyaddr, tp-mdix, tp-mdix-ctrl, transceiver]

linkinfo-set¶

Set link info.

attribute-set:

linkinfo

do:
request
attributes:

[header, port, phyaddr, tp-mdix, tp-mdix-ctrl, transceiver]

linkinfo-ntf¶

Notification for change in link info.

notify:

linkinfo-get

linkmodes-get¶

Get link modes.

attribute-set:

linkmodes

do:
request
attributes:

[header]

reply
attributes:

[header, autoneg, ours, peer, speed, duplex, master-slave-cfg, master-slave-state, lanes, rate-matching]

dump:
request
attributes:

[header]

reply
attributes:

[header, autoneg, ours, peer, speed, duplex, master-slave-cfg, master-slave-state, lanes, rate-matching]

linkmodes-set¶

Set link modes.

attribute-set:

linkmodes

do:
request
attributes:

[header, autoneg, ours, peer, speed, duplex, master-slave-cfg, master-slave-state, lanes, rate-matching]

linkmodes-ntf¶

Notification for change in link modes.

notify:

linkmodes-get

linkstate-get¶

Get link state.

attribute-set:

linkstate

do:
request
attributes:

[header]

reply
attributes:

[header, link, sqi, sqi-max, ext-state, ext-substate, ext-down-cnt]

dump:
request
attributes:

[header]

reply
attributes:

[header, link, sqi, sqi-max, ext-state, ext-substate, ext-down-cnt]

debug-get¶

Get debug message mask.

attribute-set:

debug

do:
request
attributes:

[header]

reply
attributes:

[header, msgmask]

dump:
request
attributes:

[header]

reply
attributes:

[header, msgmask]

debug-set¶

Set debug message mask.

attribute-set:

debug

do:
request
attributes:

[header, msgmask]

debug-ntf¶

Notification for change in debug message mask.

notify:

debug-get

wol-get¶

Get WOL params.

attribute-set:

wol

do:
request
attributes:

[header]

reply
attributes:

[header, modes, sopass]

dump:
request
attributes:

[header]

reply
attributes:

[header, modes, sopass]

wol-set¶

Set WOL params.

attribute-set:

wol

do:
request
attributes:

[header, modes, sopass]

wol-ntf¶

Notification for change in WOL params.

notify:

wol-get

features-get¶

Get features.

attribute-set:

features

do:
request
attributes:

[header]

reply
attributes:

[header, hw, wanted, active, nochange]

dump:
request
attributes:

[header]

reply
attributes:

[header, hw, wanted, active, nochange]

features-set¶

Set features.

attribute-set:

features

do:
request
attributes:

[header, hw, wanted, active, nochange]

reply
attributes:

[header, hw, wanted, active, nochange]

features-ntf¶

Notification for change in features.

notify:

features-get

privflags-get¶

Get device private flags.

attribute-set:

privflags

do:
request
attributes:

[header]

reply
attributes:

[header, flags]

dump:
request
attributes:

[header]

reply
attributes:

[header, flags]

privflags-set¶

Set device private flags.

attribute-set:

privflags

do:
request
attributes:

[header, flags]

privflags-ntf¶

Notification for change in device private flags.

notify:

privflags-get

rings-get¶

Get ring params.

attribute-set:

rings

do:
request
attributes:

[header]

reply
attributes:

[header, rx-max, rx-mini-max, rx-jumbo-max, tx-max, rx, rx-mini, rx-jumbo, tx, rx-buf-len, tcp-data-split, cqe-size, tx-push, rx-push, tx-push-buf-len, tx-push-buf-len-max, hds-thresh, hds-thresh-max]

dump:
request
attributes:

[header]

reply
attributes:

[header, rx-max, rx-mini-max, rx-jumbo-max, tx-max, rx, rx-mini, rx-jumbo, tx, rx-buf-len, tcp-data-split, cqe-size, tx-push, rx-push, tx-push-buf-len, tx-push-buf-len-max, hds-thresh, hds-thresh-max]

rings-set¶

Set ring params.

attribute-set:

rings

do:
request
attributes:

[header, rx-max, rx-mini-max, rx-jumbo-max, tx-max, rx, rx-mini, rx-jumbo, tx, rx-buf-len, tcp-data-split, cqe-size, tx-push, rx-push, tx-push-buf-len, tx-push-buf-len-max, hds-thresh, hds-thresh-max]

rings-ntf¶

Notification for change in ring params.

notify:

rings-get

channels-get¶

Get channel params.

attribute-set:

channels

do:
request
attributes:

[header]

reply
attributes:

[header, rx-max, tx-max, other-max, combined-max, rx-count, tx-count, other-count, combined-count]

dump:
request
attributes:

[header]

reply
attributes:

[header, rx-max, tx-max, other-max, combined-max, rx-count, tx-count, other-count, combined-count]

channels-set¶

Set channel params.

attribute-set:

channels

do:
request
attributes:

[header, rx-max, tx-max, other-max, combined-max, rx-count, tx-count, other-count, combined-count]

channels-ntf¶

Notification for change in channel params.

notify:

channels-get

coalesce-get¶

Get coalesce params.

attribute-set:

coalesce

do:
request
attributes:

[header]

reply
attributes:

[header, rx-usecs, rx-max-frames, rx-usecs-irq, rx-max-frames-irq, tx-usecs, tx-max-frames, tx-usecs-irq, tx-max-frames-irq, stats-block-usecs, use-adaptive-rx, use-adaptive-tx, pkt-rate-low, rx-usecs-low, rx-max-frames-low, tx-usecs-low, tx-max-frames-low, pkt-rate-high, rx-usecs-high, rx-max-frames-high, tx-usecs-high, tx-max-frames-high, rate-sample-interval, use-cqe-mode-tx, use-cqe-mode-rx, tx-aggr-max-bytes, tx-aggr-max-frames, tx-aggr-time-usecs, rx-profile, tx-profile]

dump:
request
attributes:

[header]

reply
attributes:

[header, rx-usecs, rx-max-frames, rx-usecs-irq, rx-max-frames-irq, tx-usecs, tx-max-frames, tx-usecs-irq, tx-max-frames-irq, stats-block-usecs, use-adaptive-rx, use-adaptive-tx, pkt-rate-low, rx-usecs-low, rx-max-frames-low, tx-usecs-low, tx-max-frames-low, pkt-rate-high, rx-usecs-high, rx-max-frames-high, tx-usecs-high, tx-max-frames-high, rate-sample-interval, use-cqe-mode-tx, use-cqe-mode-rx, tx-aggr-max-bytes, tx-aggr-max-frames, tx-aggr-time-usecs, rx-profile, tx-profile]

coalesce-set¶

Set coalesce params.

attribute-set:

coalesce

do:
request
attributes:

[header, rx-usecs, rx-max-frames, rx-usecs-irq, rx-max-frames-irq, tx-usecs, tx-max-frames, tx-usecs-irq, tx-max-frames-irq, stats-block-usecs, use-adaptive-rx, use-adaptive-tx, pkt-rate-low, rx-usecs-low, rx-max-frames-low, tx-usecs-low, tx-max-frames-low, pkt-rate-high, rx-usecs-high, rx-max-frames-high, tx-usecs-high, tx-max-frames-high, rate-sample-interval, use-cqe-mode-tx, use-cqe-mode-rx, tx-aggr-max-bytes, tx-aggr-max-frames, tx-aggr-time-usecs, rx-profile, tx-profile]

coalesce-ntf¶

Notification for change in coalesce params.

notify:

coalesce-get

pause-get¶

Get pause params.

attribute-set:

pause

do:
request
attributes:

[header]

reply
attributes:

[header, autoneg, rx, tx, stats, stats-src]

dump:
request
attributes:

[header]

reply
attributes:

[header, autoneg, rx, tx, stats, stats-src]

pause-set¶

Set pause params.

attribute-set:

pause

do:
request
attributes:

[header, autoneg, rx, tx, stats, stats-src]

pause-ntf¶

Notification for change in pause params.

notify:

pause-get

eee-get¶

Get eee params.

attribute-set:

eee

do:
request
attributes:

[header]

reply
attributes:

[header, modes-ours, modes-peer, active, enabled, tx-lpi-enabled, tx-lpi-timer]

dump:
request
attributes:

[header]

reply
attributes:

[header, modes-ours, modes-peer, active, enabled, tx-lpi-enabled, tx-lpi-timer]

eee-set¶

Set eee params.

attribute-set:

eee

do:
request
attributes:

[header, modes-ours, modes-peer, active, enabled, tx-lpi-enabled, tx-lpi-timer]

eee-ntf¶

Notification for change in eee params.

notify:

eee-get

tsinfo-get¶

Get tsinfo params.

attribute-set:

tsinfo

do:
request
attributes:

[header, hwtstamp-provider]

reply
attributes:

[header, timestamping, tx-types, rx-filters, phc-index, stats, hwtstamp-provider, hwtstamp-source, hwtstamp-phyindex]

dump:
request
attributes:

[header, hwtstamp-provider]

reply
attributes:

[header, timestamping, tx-types, rx-filters, phc-index, stats, hwtstamp-provider, hwtstamp-source, hwtstamp-phyindex]

cable-test-act¶

Cable test.

attribute-set:

cable-test

do:
request
attributes:

[header]

cable-test-ntf¶

Cable test notification.

attribute-set:

cable-test-ntf

event:

{‘attributes’: [‘header’, ‘status’]}

cable-test-tdr-act¶

Cable test TDR.

attribute-set:

cable-test-tdr

do:
request
attributes:

[header]

cable-test-tdr-ntf¶

Cable test TDR notification.

attribute-set:

cable-test-tdr-ntf

event:

{‘attributes’: [‘header’, ‘status’, ‘nest’]}

tunnel-info-get¶

Get tsinfo params.

attribute-set:

tunnel-info

do:
request
attributes:

[header]

reply
attributes:

[header, udp-ports]

dump:
request
attributes:

[header]

reply
attributes:

[header, udp-ports]

fec-get¶

Get FEC params.

attribute-set:

fec

do:
request
attributes:

[header]

reply
attributes:

[header, modes, auto, active, stats]

dump:
request
attributes:

[header]

reply
attributes:

[header, modes, auto, active, stats]

fec-set¶

Set FEC params.

attribute-set:

fec

do:
request
attributes:

[header, modes, auto, active, stats]

fec-ntf¶

Notification for change in FEC params.

notify:

fec-get

module-eeprom-get¶

Get module EEPROM params.

attribute-set:

module-eeprom

do:
request
attributes:

[header, offset, length, page, bank, i2c-address]

reply
attributes:

[header, data]

dump:
request
attributes:

[header, offset, length, page, bank, i2c-address]

reply
attributes:

[header, data]

stats-get¶

Get statistics.

attribute-set:

stats

do:
request
attributes:

[header, groups]

reply
attributes:

[header, groups, grp, src]

dump:
request
attributes:

[header, groups]

reply
attributes:

[header, groups, grp, src]

phc-vclocks-get¶

Get PHC VCLOCKs.

attribute-set:

phc-vclocks

do:
request
attributes:

[header]

reply
attributes:

[header, num]

dump:
request
attributes:

[header]

reply
attributes:

[header, num]

module-get¶

Get module params.

attribute-set:

module

do:
request
attributes:

[header]

reply
attributes:

[header, power-mode-policy, power-mode]

dump:
request
attributes:

[header]

reply
attributes:

[header, power-mode-policy, power-mode]

module-set¶

Set module params.

attribute-set:

module

do:
request
attributes:

[header, power-mode-policy, power-mode]

module-ntf¶

Notification for change in module params.

notify:

module-get

pse-get¶

Get Power Sourcing Equipment params.

attribute-set:

pse

do:
request
attributes:

[header]

reply
attributes:

[header, podl-pse-admin-state, podl-pse-admin-control, podl-pse-pw-d-status, c33-pse-admin-state, c33-pse-admin-control, c33-pse-pw-d-status, c33-pse-pw-class, c33-pse-actual-pw, c33-pse-ext-state, c33-pse-ext-substate, c33-pse-avail-pw-limit, c33-pse-pw-limit-ranges, pse-pw-d-id, pse-prio-max, pse-prio]

dump:
request
attributes:

[header]

reply
attributes:

[header, podl-pse-admin-state, podl-pse-admin-control, podl-pse-pw-d-status, c33-pse-admin-state, c33-pse-admin-control, c33-pse-pw-d-status, c33-pse-pw-class, c33-pse-actual-pw, c33-pse-ext-state, c33-pse-ext-substate, c33-pse-avail-pw-limit, c33-pse-pw-limit-ranges, pse-pw-d-id, pse-prio-max, pse-prio]

pse-set¶

Set Power Sourcing Equipment params.

attribute-set:

pse

do:
request
attributes:

[header, podl-pse-admin-control, c33-pse-admin-control, c33-pse-avail-pw-limit, pse-prio]

rss-get¶

Get RSS params.

attribute-set:

rss

do:
request
attributes:

[header, context]

reply
attributes:

[header, context, hfunc, indir, hkey, input-xfrm, flow-hash]

dump:
request
attributes:

[header, start-context]

reply
attributes:

[header, context, hfunc, indir, hkey, input-xfrm, flow-hash]

plca-get-cfg¶

Get PLCA params.

attribute-set:

plca

do:
request
attributes:

[header]

reply
attributes:

[header, version, enabled, status, node-cnt, node-id, to-tmr, burst-cnt, burst-tmr]

dump:
request
attributes:

[header]

reply
attributes:

[header, version, enabled, status, node-cnt, node-id, to-tmr, burst-cnt, burst-tmr]

plca-set-cfg¶

Set PLCA params.

attribute-set:

plca

do:
request
attributes:

[header, version, enabled, status, node-cnt, node-id, to-tmr, burst-cnt, burst-tmr]

plca-get-status¶

Get PLCA status params.

attribute-set:

plca

do:
request
attributes:

[header]

reply
attributes:

[header, version, enabled, status, node-cnt, node-id, to-tmr, burst-cnt, burst-tmr]

dump:
request
attributes:

[header]

reply
attributes:

[header, version, enabled, status, node-cnt, node-id, to-tmr, burst-cnt, burst-tmr]

plca-ntf¶

Notification for change in PLCA params.

notify:

plca-get-cfg

mm-get¶

Get MAC Merge configuration and state

attribute-set:

mm

do:
request
attributes:

[header]

reply
attributes:

[header, pmac-enabled, tx-enabled, tx-active, tx-min-frag-size, rx-min-frag-size, verify-enabled, verify-time, max-verify-time, stats]

dump:
request
attributes:

[header]

reply
attributes:

[header, pmac-enabled, tx-enabled, tx-active, tx-min-frag-size, rx-min-frag-size, verify-enabled, verify-time, max-verify-time, stats]

mm-set¶

Set MAC Merge configuration

attribute-set:

mm

do:
request
attributes:

[header, verify-enabled, verify-time, tx-enabled, pmac-enabled, tx-min-frag-size]

mm-ntf¶

Notification for change in MAC Merge configuration.

notify:

mm-get

module-fw-flash-act¶

Flash transceiver module firmware.

attribute-set:

module-fw-flash

do:
request
attributes:

[header, file-name, password]

module-fw-flash-ntf¶

Notification for firmware flashing progress and status.

attribute-set:

module-fw-flash

event:

{‘attributes’: [‘header’, ‘status’, ‘status-msg’, ‘done’, ‘total’]}

phy-get¶

Get PHY devices attached to an interface

attribute-set:

phy

do:
request
attributes:

[header]

reply
attributes:

[header, index, drvname, name, upstream-type, upstream-index, upstream-sfp-name, downstream-sfp-name]

dump:
request
attributes:

[header]

reply
attributes:

[header, index, drvname, name, upstream-type, upstream-index, upstream-sfp-name, downstream-sfp-name]

phy-ntf¶

Notification for change in PHY devices.

notify:

phy-get

tsconfig-get¶

Get hwtstamp config.

attribute-set:

tsconfig

do:
request
attributes:

[header]

reply
attributes:

[header, hwtstamp-provider, tx-types, rx-filters, hwtstamp-flags]

dump:
request
attributes:

[header]

reply
attributes:

[header, hwtstamp-provider, tx-types, rx-filters, hwtstamp-flags]

tsconfig-set¶

Set hwtstamp config.

attribute-set:

tsconfig

do:
request
attributes:

[header, hwtstamp-provider, tx-types, rx-filters, hwtstamp-flags]

reply
attributes:

[header, hwtstamp-provider, tx-types, rx-filters, hwtstamp-flags]

pse-ntf¶

Notification for PSE events.

attribute-set:

pse-ntf

event:

{‘attributes’: [‘header’, ‘events’]}

rss-set¶

Set RSS params.

attribute-set:

rss

do:
request
attributes:

[header, context, hfunc, indir, hkey, input-xfrm, flow-hash]

rss-ntf¶

Notification for change in RSS configuration. For additional contexts only modifications use this notification, creation and deletion have dedicated messages.

notify:

rss-get

rss-create-act¶

Create an RSS context.

attribute-set:

rss

do:
request
attributes:

[header, context, hfunc, indir, hkey, input-xfrm]

reply
attributes:

[header, context, hfunc, indir, hkey, input-xfrm]

rss-create-ntf¶

Notification for creation of an additional RSS context.

notify:

rss-create-act

rss-delete-act¶

Delete an RSS context.

attribute-set:

rss

do:
request
attributes:

[header, context]

rss-delete-ntf¶

Notification for deletion of an additional RSS context.

attribute-set:

rss

event:

{‘attributes’: [‘header’, ‘context’]}

Multicast groups¶

  • monitor

Definitions¶

udp-tunnel-type¶

enum-name:

None

type:

enum

enum-cnt-name:

__ethtool-udp-tunnel-type-cnt

entries:
  • vxlan

  • geneve

  • vxlan-gpe

stringset¶

type:

enum

header:

linux/ethtool.h

entries:

header-flags¶

type:

flags

name-prefix:

ethtool-flag-

doc:

common ethtool header flags

entries:
compact-bitsets:

use compact bitsets in reply

omit-reply:

provide optional reply for SET or ACT requests

stats:

request statistics, if supported by the driver

module-fw-flash-status¶

type:

enum

doc:

plug-in module firmware flashing status

header:

linux/ethtool.h

entries:
started:

The firmware flashing process has started.

in-progress:

The firmware flashing process is in progress.

completed:

The firmware flashing process was completed successfully.

error:

The firmware flashing process was stopped due to an error.

c33-pse-ext-state¶

doc:

“groups of PSE extended states functions. IEEE 802.3-2022 33.2.4.4 Variables”

type:

enum

name-prefix:

ethtool-c33-pse-ext-state-

header:

linux/ethtool.h

entries:
none:

none

error-condition:

Group of error_condition states

mr-mps-valid:

Group of mr_mps_valid states

mr-pse-enable:

Group of mr_pse_enable states

option-detect-ted:

Group of option_detect_ted states

option-vport-lim:

Group of option_vport_lim states

ovld-detected:

Group of ovld_detected states

power-not-available:

Group of power_not_available states

short-detected:

Group of short_detected states

phy-upstream-type¶

enum-name:

phy-upstream

header:

linux/ethtool.h

type:

enum

name-prefix:

phy-upstream

entries:
  • mac

  • phy

tcp-data-split¶

type:

enum

entries:
  • unknown

  • disabled

  • enabled

hwtstamp-source¶

doc:

Source of the hardware timestamp

enum-name:

hwtstamp-source

name-prefix:

hwtstamp-source-

type:

enum

entries:
netdev:

Hardware timestamp comes from a MAC or a device which has MAC and PHY integrated

phylib:

Hardware timestamp comes from one PHY device of the network topology

pse-event¶

doc:

PSE event list for the PSE controller

type:

flags

name-prefix:

ethtool-

entries:
pse-event-over-current:

PSE output current is too high

pse-event-over-temp:

PSE in over temperature state

c33-pse-event-detection:

detection process occur on the PSE. IEEE 802.3-2022 33.2.5 and 145.2.6 PSE detection of PDs. IEEE 802.3-202 30.9.1.1.5 aPSEPowerDetectionStatus

c33-pse-event-classification:

classification process occur on the PSE. IEEE 802.3-2022 33.2.6 and 145.2.8 classification of PDs mutual identification. IEEE 802.3-2022 30.9.1.1.8 aPSEPowerClassification.

c33-pse-event-disconnection:

PD has been disconnected on the PSE. IEEE 802.3-2022 33.3.8 and 145.3.9 PD Maintain Power Signature. IEEE 802.3-2022 33.5.1.2.9 MPS Absent. IEEE 802.3-2022 30.9.1.1.20 aPSEMPSAbsentCounter.

pse-event-over-budget:

PSE turned off due to over budget situation

pse-event-sw-pw-control-error:

PSE faced an error managing the power control from software

input-xfrm¶

doc:

RSS hash function transformations.

type:

flags

enum-name:

None

name-prefix:

rxh-xfrm-

header:

linux/ethtool.h

entries:
sym-xor:

XOR the corresponding source and destination fields of each specified protocol. Both copies of the XOR’ed fields are fed into the RSS and RXHASH calculation. Note that this XORing reduces the input set entropy and could be exploited to reduce the RSS queue spread.

sym-or-xor:

Similar to SYM_XOR, except that one copy of the XOR’ed fields is replaced by an OR of the same fields.

rxfh-fields¶

name-prefix:

rxh-

enum-name:

None

header:

linux/ethtool.h

type:

flags

entries:
l2da:

vlan:

l3-proto:

ip-src:

ip-dst:

l4-b-0-1:

src port in case of TCP/UDP/SCTP

l4-b-2-3:

dst port in case of TCP/UDP/SCTP

gtp-teid:

discard:

Attribute sets¶

header¶

unspec (unused)¶

value:

0

dev-index (u32)¶

dev-name (string)¶

flags (u32)¶

enum:

header-flags

phy-index (u32)¶

bitset-bit¶

unspec (unused)¶

value:

0

index (u32)¶

name (string)¶

value (flag)¶

bitset-bits¶

unspec (unused)¶

value:

0

bit (nest)¶

multi-attr:

True

nested-attributes:

bitset-bit

bitset¶

unspec (unused)¶

value:

0

nomask (flag)¶

size (u32)¶

bits (nest)¶

nested-attributes:

bitset-bits

value (binary)¶

mask (binary)¶

string¶

unspec (unused)¶

value:

0

index (u32)¶

value (string)¶

strings¶

unspec (unused)¶

value:

0

unspec (unused)¶

value:

0

string (nest)¶

multi-attr:

True

nested-attributes:

string

stringset¶

unspec (unused)¶

value:

0

id (u32)¶

count (u32)¶

strings (nest)¶

multi-attr:

True

nested-attributes:

strings

stringsets¶

unspec (unused)¶

value:

0

stringset (nest)¶

multi-attr:

True

nested-attributes:

stringset

strset¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

stringsets (nest)¶

nested-attributes:

stringsets

counts-only (flag)¶

privflags¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

flags (nest)¶

nested-attributes:

bitset

rings¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

rx-max (u32)¶

rx-mini-max (u32)¶

rx-jumbo-max (u32)¶

tx-max (u32)¶

rx (u32)¶

rx-mini (u32)¶

rx-jumbo (u32)¶

tx (u32)¶

rx-buf-len (u32)¶

tcp-data-split (u8)¶

enum:

tcp-data-split

cqe-size (u32)¶

tx-push (u8)¶

rx-push (u8)¶

tx-push-buf-len (u32)¶

tx-push-buf-len-max (u32)¶

hds-thresh (u32)¶

hds-thresh-max (u32)¶

mm-stat¶

unspec (unused)¶

value:

0

pad (pad)¶

reassembly-errors (u64)¶

doc:

aMACMergeFrameAssErrorCount

smd-errors (u64)¶

doc:

aMACMergeFrameSmdErrorCount

reassembly-ok (u64)¶

doc:

aMACMergeFrameAssOkCount

rx-frag-count (u64)¶

doc:

aMACMergeFragCountRx

tx-frag-count (u64)¶

doc:

aMACMergeFragCountTx

hold-count (u64)¶

doc:

aMACMergeHoldCount

mm¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

pmac-enabled (u8)¶

tx-enabled (u8)¶

tx-active (u8)¶

tx-min-frag-size (u32)¶

rx-min-frag-size (u32)¶

verify-enabled (u8)¶

verify-status (u8)¶

verify-time (u32)¶

max-verify-time (u32)¶

stats (nest)¶

nested-attributes:

mm-stat

linkinfo¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

port (u8)¶

phyaddr (u8)¶

tp-mdix (u8)¶

tp-mdix-ctrl (u8)¶

transceiver (u8)¶

linkmodes¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

autoneg (u8)¶

ours (nest)¶

nested-attributes:

bitset

peer (nest)¶

nested-attributes:

bitset

speed (u32)¶

duplex (u8)¶

master-slave-cfg (u8)¶

master-slave-state (u8)¶

lanes (u32)¶

rate-matching (u8)¶

linkstate¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

link (u8)¶

sqi (u32)¶

sqi-max (u32)¶

ext-state (u8)¶

ext-substate (u8)¶

ext-down-cnt (u32)¶

debug¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

msgmask (nest)¶

nested-attributes:

bitset

wol¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

modes (nest)¶

nested-attributes:

bitset

sopass (binary)¶

features¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

hw (nest)¶

nested-attributes:

bitset

wanted (nest)¶

nested-attributes:

bitset

active (nest)¶

nested-attributes:

bitset

nochange (nest)¶

nested-attributes:

bitset

channels¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

rx-max (u32)¶

tx-max (u32)¶

other-max (u32)¶

combined-max (u32)¶

rx-count (u32)¶

tx-count (u32)¶

other-count (u32)¶

combined-count (u32)¶

irq-moderation¶

unspec (unused)¶

value:

0

usec (u32)¶

pkts (u32)¶

comps (u32)¶

profile¶

unspec (unused)¶

value:

0

irq-moderation (nest)¶

multi-attr:

True

nested-attributes:

irq-moderation

coalesce¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

rx-usecs (u32)¶

rx-max-frames (u32)¶

rx-usecs-irq (u32)¶

rx-max-frames-irq (u32)¶

tx-usecs (u32)¶

tx-max-frames (u32)¶

tx-usecs-irq (u32)¶

tx-max-frames-irq (u32)¶

stats-block-usecs (u32)¶

use-adaptive-rx (u8)¶

use-adaptive-tx (u8)¶

pkt-rate-low (u32)¶

rx-usecs-low (u32)¶

rx-max-frames-low (u32)¶

tx-usecs-low (u32)¶

tx-max-frames-low (u32)¶

pkt-rate-high (u32)¶

rx-usecs-high (u32)¶

rx-max-frames-high (u32)¶

tx-usecs-high (u32)¶

tx-max-frames-high (u32)¶

rate-sample-interval (u32)¶

use-cqe-mode-tx (u8)¶

use-cqe-mode-rx (u8)¶

tx-aggr-max-bytes (u32)¶

tx-aggr-max-frames (u32)¶

tx-aggr-time-usecs (u32)¶

rx-profile (nest)¶

nested-attributes:

profile

tx-profile (nest)¶

nested-attributes:

profile

pause-stat¶

unspec (unused)¶

value:

0

pad (pad)¶

tx-frames (u64)¶

rx-frames (u64)¶

pause¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

autoneg (u8)¶

rx (u8)¶

tx (u8)¶

stats (nest)¶

nested-attributes:

pause-stat

stats-src (u32)¶

eee¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

modes-ours (nest)¶

nested-attributes:

bitset

modes-peer (nest)¶

nested-attributes:

bitset

active (u8)¶

enabled (u8)¶

tx-lpi-enabled (u8)¶

tx-lpi-timer (u32)¶

ts-stat¶

unspec (unused)¶

value:

0

tx-pkts (uint)¶

tx-lost (uint)¶

tx-err (uint)¶

tx-onestep-pkts-unconfirmed (uint)¶

ts-hwtstamp-provider¶

unspec (unused)¶

value:

0

index (u32)¶

qualifier (u32)¶

tsinfo¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

timestamping (nest)¶

nested-attributes:

bitset

tx-types (nest)¶

nested-attributes:

bitset

rx-filters (nest)¶

nested-attributes:

bitset

phc-index (u32)¶

stats (nest)¶

nested-attributes:

ts-stat

hwtstamp-provider (nest)¶

nested-attributes:

ts-hwtstamp-provider

hwtstamp-source (u32)¶

enum:

hwtstamp-source

hwtstamp-phyindex (u32)¶

cable-result¶

unspec (unused)¶

value:

0

pair (u8)¶

doc:

ETHTOOL_A_CABLE_PAIR

code (u8)¶

doc:

ETHTOOL_A_CABLE_RESULT_CODE

src (u32)¶

doc:

ETHTOOL_A_CABLE_INF_SRC

cable-fault-length¶

unspec (unused)¶

value:

0

pair (u8)¶

cm (u32)¶

src (u32)¶

cable-nest¶

unspec (unused)¶

value:

0

result (nest)¶

nested-attributes:

cable-result

fault-length (nest)¶

nested-attributes:

cable-fault-length

cable-test¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

cable-test-ntf¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

status (u8)¶

doc:

_STARTED/_COMPLETE

nest (nest)¶

nested-attributes:

cable-nest

cable-test-tdr-cfg¶

unspec (unused)¶

value:

0

first (u32)¶

last (u32)¶

step (u32)¶

pair (u8)¶

cable-test-tdr-ntf¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

status (u8)¶

nest (nest)¶

nested-attributes:

cable-nest

cable-test-tdr¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

cfg (nest)¶

nested-attributes:

cable-test-tdr-cfg

tunnel-udp-entry¶

unspec (unused)¶

value:

0

port (u16)¶

byte-order:

big-endian

type (u32)¶

enum:

udp-tunnel-type

tunnel-udp-table¶

unspec (unused)¶

value:

0

size (u32)¶

types (nest)¶

nested-attributes:

bitset

entry (nest)¶

multi-attr:

True

nested-attributes:

tunnel-udp-entry

tunnel-udp¶

unspec (unused)¶

value:

0

table (nest)¶

nested-attributes:

tunnel-udp-table

tunnel-info¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

udp-ports (nest)¶

nested-attributes:

tunnel-udp

fec-stat¶

unspec (unused)¶

value:

0

pad (pad)¶

corrected (binary)¶

sub-type:

u64

uncorr (binary)¶

sub-type:

u64

corr-bits (binary)¶

sub-type:

u64

fec¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

modes (nest)¶

nested-attributes:

bitset

auto (u8)¶

active (u32)¶

stats (nest)¶

nested-attributes:

fec-stat

module-eeprom¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

offset (u32)¶

length (u32)¶

page (u8)¶

bank (u8)¶

i2c-address (u8)¶

data (binary)¶

stats-grp¶

unspec (unused)¶

value:

0

pad (pad)¶

id (u32)¶

ss-id (u32)¶

stat (u64)¶

type-value:

[‘id’]

hist-rx (nest)¶

nested-attributes:

stats-grp-hist

hist-tx (nest)¶

nested-attributes:

stats-grp-hist

hist-bkt-low (u32)¶

hist-bkt-hi (u32)¶

hist-val (u64)¶

stats-grp-hist¶

hist-bkt-low¶

hist-bkt-hi¶

hist-val¶

stats¶

unspec (unused)¶

value:

0

pad (pad)¶

header (nest)¶

nested-attributes:

header

groups (nest)¶

nested-attributes:

bitset

grp (nest)¶

nested-attributes:

stats-grp

src (u32)¶

phc-vclocks¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

num (u32)¶

index (binary)¶

sub-type:

s32

module¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

power-mode-policy (u8)¶

power-mode (u8)¶

c33-pse-pw-limit¶

unspec (unused)¶

value:

0

min (u32)¶

max (u32)¶

pse¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

podl-pse-admin-state (u32)¶

name-prefix:

ethtool-a-

podl-pse-admin-control (u32)¶

name-prefix:

ethtool-a-

podl-pse-pw-d-status (u32)¶

name-prefix:

ethtool-a-

c33-pse-admin-state (u32)¶

name-prefix:

ethtool-a-

c33-pse-admin-control (u32)¶

name-prefix:

ethtool-a-

c33-pse-pw-d-status (u32)¶

name-prefix:

ethtool-a-

c33-pse-pw-class (u32)¶

name-prefix:

ethtool-a-

c33-pse-actual-pw (u32)¶

name-prefix:

ethtool-a-

c33-pse-ext-state (u32)¶

name-prefix:

ethtool-a-

enum:

c33-pse-ext-state

c33-pse-ext-substate (u32)¶

name-prefix:

ethtool-a-

c33-pse-avail-pw-limit (u32)¶

name-prefix:

ethtool-a-

c33-pse-pw-limit-ranges (nest)¶

name-prefix:

ethtool-a-

multi-attr:

True

nested-attributes:

c33-pse-pw-limit

pse-pw-d-id (u32)¶

name-prefix:

ethtool-a-

pse-prio-max (u32)¶

name-prefix:

ethtool-a-

pse-prio (u32)¶

name-prefix:

ethtool-a-

flow¶

ether (uint)¶

enum:

rxfh-fields

ip4 (uint)¶

enum:

rxfh-fields

ip6 (uint)¶

enum:

rxfh-fields

tcp4 (uint)¶

enum:

rxfh-fields

tcp6 (uint)¶

enum:

rxfh-fields

udp4 (uint)¶

enum:

rxfh-fields

udp6 (uint)¶

enum:

rxfh-fields

sctp4 (uint)¶

enum:

rxfh-fields

sctp6 (uint)¶

enum:

rxfh-fields

ah4 (uint)¶

enum:

rxfh-fields

ah6 (uint)¶

enum:

rxfh-fields

esp4 (uint)¶

enum:

rxfh-fields

esp6 (uint)¶

enum:

rxfh-fields

ah-esp4 (uint)¶

enum:

rxfh-fields

ah-esp6 (uint)¶

enum:

rxfh-fields

gtpu4 (uint)¶

enum:

rxfh-fields

gtpu6 (uint)¶

enum:

rxfh-fields

gtpc4 (uint)¶

enum:

rxfh-fields

gtpc6 (uint)¶

enum:

rxfh-fields

gtpc-teid4 (uint)¶

enum:

rxfh-fields

gtpc-teid6 (uint)¶

enum:

rxfh-fields

gtpu-eh4 (uint)¶

enum:

rxfh-fields

gtpu-eh6 (uint)¶

enum:

rxfh-fields

gtpu-ul4 (uint)¶

enum:

rxfh-fields

gtpu-ul6 (uint)¶

enum:

rxfh-fields

gtpu-dl4 (uint)¶

enum:

rxfh-fields

gtpu-dl6 (uint)¶

enum:

rxfh-fields

rss¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

context (u32)¶

hfunc (u32)¶

indir (binary)¶

sub-type:

u32

hkey (binary)¶

input-xfrm (u32)¶

enum:

input-xfrm

start-context (u32)¶

flow-hash (nest)¶

nested-attributes:

flow

plca¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

version (u16)¶

enabled (u8)¶

status (u8)¶

node-cnt (u32)¶

node-id (u32)¶

to-tmr (u32)¶

burst-cnt (u32)¶

burst-tmr (u32)¶

module-fw-flash¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

file-name (string)¶

password (u32)¶

status (u32)¶

enum:

module-fw-flash-status

status-msg (string)¶

done (uint)¶

total (uint)¶

phy¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

index (u32)¶

drvname (string)¶

name (string)¶

upstream-type (u32)¶

enum:

phy-upstream-type

upstream-index (u32)¶

upstream-sfp-name (string)¶

downstream-sfp-name (string)¶

tsconfig¶

unspec (unused)¶

value:

0

header (nest)¶

nested-attributes:

header

hwtstamp-provider (nest)¶

nested-attributes:

ts-hwtstamp-provider

tx-types (nest)¶

nested-attributes:

bitset

rx-filters (nest)¶

nested-attributes:

bitset

hwtstamp-flags (nest)¶

nested-attributes:

bitset

pse-ntf¶

header (nest)¶

nested-attributes:

header

events (uint)¶

enum:

pse-event

doc:

List of events reported by the PSE controller

Previous Next

© Copyright The kernel development community.

Built with Sphinx using a theme provided by Read the Docs.