Family ethtool netlink specification

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.

cable-test-tdr-act #

Cable test TDR.

cable-test-tdr-ntf #

Cable test TDR notification.

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]

mse-get #

Get PHY MSE measurement data and capabilities.

  • attribute-set:

    mse

  • do:

    request

    • attributes:

      [header]

    reply

    • attributes:

      [header, capabilities, channel-a, channel-b, channel-c, channel-d, worst-channel, link]

  • dump:

    request

    • attributes:

      [header]

    reply

    • attributes:

      [header, capabilities, channel-a, channel-b, channel-c, channel-d, worst-channel, link]

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

    • ip6-fl:

      IPv6 Flow Label

    • discard

Attribute sets #

unspec (unused) #

  • value:

    0

dev-index (u32) #

dev-name (string) #

flags (u32) #

phy-index (u32) #

bitset-bit #

unspec (unused) #

  • value:

    0

index (u32) #

name (string) #

value (flag) #

bitset-bits #

unspec (unused) #

  • value:

    0

bit (nest) #

bitset #

unspec (unused) #

  • value:

    0

nomask (flag) #

size (u32) #

bits (nest) #

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) #

stringsets (nest) #

counts-only (flag) #

privflags #

unspec (unused) #

  • value:

    0

header (nest) #

flags (nest) #

rings #

unspec (unused) #

  • value:

    0

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 #

MAC Merge (802.3)

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) #

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) #

  • value:

    0

header (nest) #

port (u8) #

phyaddr (u8) #

tp-mdix (u8) #

tp-mdix-ctrl (u8) #

transceiver (u8) #

linkmodes #

unspec (unused) #

  • value:

    0

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) #

  • value:

    0

header (nest) #

sqi (u32) #

sqi-max (u32) #

ext-state (u8) #

ext-substate (u8) #

ext-down-cnt (u32) #

debug #

unspec (unused) #

  • value:

    0

header (nest) #

msgmask (nest) #

wol #

unspec (unused) #

  • value:

    0

header (nest) #

modes (nest) #

sopass (binary) #

features #

unspec (unused) #

  • value:

    0

header (nest) #

hw (nest) #

wanted (nest) #

active (nest) #

nochange (nest) #

channels #

unspec (unused) #

  • value:

    0

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) #

  • value:

    0

usec (u32) #

pkts (u32) #

comps (u32) #

profile #

unspec (unused) #

  • value:

    0

irq-moderation (nest) #

coalesce #

unspec (unused) #

  • value:

    0

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) #

  • value:

    0

pad (pad) #

tx-frames (u64) #

rx-frames (u64) #

pause #

unspec (unused) #

  • value:

    0

header (nest) #

autoneg (u8) #

rx (u8) #

tx (u8) #

stats (nest) #

stats-src (u32) #

eee #

unspec (unused) #

  • value:

    0

header (nest) #

modes-ours (nest) #

modes-peer (nest) #

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) #

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) #

  • 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) #

fault-length (nest) #

cable-test #

unspec (unused) #

  • value:

    0

header (nest) #

cable-test-ntf #

unspec (unused) #

  • value:

    0

header (nest) #

status (u8) #

  • doc:

    _STARTED/_COMPLETE

nest (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) #

status (u8) #

nest (nest) #

cable-test-tdr #

unspec (unused) #

  • value:

    0

header (nest) #

cfg (nest) #

tunnel-udp-entry #

unspec (unused) #

  • value:

    0

port (u16) #

  • byte-order:

    big-endian

type (u32) #

tunnel-udp-table #

unspec (unused) #

  • value:

    0

size (u32) #

types (nest) #

entry (nest) #

tunnel-udp #

unspec (unused) #

  • value:

    0

table (nest) #

tunnel-info #

unspec (unused) #

  • value:

    0

header (nest) #

udp-ports (nest) #

fec-hist #

pad (pad) #

bin-low (u32) #

  • doc:

    Low bound of FEC bin (inclusive)

bin-high (u32) #

  • doc:

    High bound of FEC bin (inclusive)

bin-val (uint) #

  • doc:

    Error count in the bin (optional if per-lane values exist)

bin-val-per-lane (binary) #

  • sub-type:

    u64

  • doc:

    An array of per-lane error counters in the bin (optional)

fec-stat #

unspec (unused) #

  • value:

    0

pad (pad) #

corrected (binary) #

  • sub-type:

    u64

uncorr (binary) #

  • sub-type:

    u64

corr-bits (binary) #

  • sub-type:

    u64

hist (nest) #

  • multi-attr:

    True

  • nested-attributes:

    fec-hist

fec #

unspec (unused) #

  • value:

    0

header (nest) #

modes (nest) #

auto (u8) #

active (u32) #

stats (nest) #

module-eeprom #

unspec (unused) #

  • value:

    0

header (nest) #

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) #

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) #

  • value:

    0

pad (pad) #

header (nest) #

groups (nest) #

grp (nest) #

src (u32) #

phc-vclocks #

unspec (unused) #

  • value:

    0

header (nest) #

num (u32) #

index (binary) #

  • sub-type:

    s32

module #

unspec (unused) #

  • value:

    0

header (nest) #

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) #

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) #

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) #

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 #

Flow types, corresponding to those defined in the old ethtool header for RXFH and RXNFC as ${PROTO}_FLOW. The values are not matching the old ones to avoid carrying into Netlink the IP_USER_FLOW vs IPV4_FLOW vs IPV4_USER_FLOW confusion.

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) #

  • value:

    0

header (nest) #

context (u32) #

hfunc (u32) #

indir (binary) #

  • sub-type:

    u32

hkey (binary) #

input-xfrm (u32) #

start-context (u32) #

flow-hash (nest) #

  • nested-attributes:

    flow

plca #

unspec (unused) #

  • value:

    0

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) #

  • value:

    0

header (nest) #

file-name (string) #

password (u32) #

status (u32) #

status-msg (string) #

done (uint) #

total (uint) #

phy #

unspec (unused) #

  • value:

    0

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) #

  • value:

    0

header (nest) #

hwtstamp-provider (nest) #

tx-types (nest) #

rx-filters (nest) #

hwtstamp-flags (nest) #

pse-ntf #

header (nest) #

events (uint) #

  • enum:

    pse-event

  • doc:

    List of events reported by the PSE controller

mse-capabilities #

MSE capabilities attribute set

max-average-mse (uint) #

max-peak-mse (uint) #

refresh-rate-ps (uint) #

num-symbols (uint) #

mse-snapshot #

MSE snapshot attribute set

average-mse (uint) #

peak-mse (uint) #

worst-peak-mse (uint) #

mse #

header (nest) #

capabilities (nest) #

channel-a (nest) #

channel-b (nest) #

channel-c (nest) #

channel-d (nest) #

worst-channel (nest) #

Edit this page