MOON
Server: Apache
System: Linux s5.yayogua.com.py 6.12.0-124.55.3.el10_1.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:54:02 EDT 2026 x86_64
User: sanbercountryclu (1012)
PHP: 8.2.32
Disabled: NONE
Upload Files
File: //usr/share/doc/ynl/ethtool.rst
.. LINENO 2

.. SPDX-License-Identifier: GPL-2.0
.. NOTE: This document was auto-generated.


.. _netlink-ethtool:


========================================
Family ``ethtool`` netlink specification
========================================


.. contents:: :depth: 3


-------
Summary
-------


Partial family for Ethtool Netlink.

----------
Operations
----------


.. LINENO 1767

.. _ethtool-operation-strset-get:

strset-get
==========
Get string set from the kernel.

:attribute-set: :ref:`ethtool-attribute-set-strset`
:do:
.. LINENO 1772

    **request**
        :attributes: [``header``, ``stringsets``, ``counts-only``]

    **reply**
        :attributes: [``header``, ``stringsets``]

:dump:
.. LINENO 1772

    **request**
        :attributes: [``header``, ``stringsets``, ``counts-only``]

    **reply**
        :attributes: [``header``, ``stringsets``]



.. LINENO 1784

.. _ethtool-operation-linkinfo-get:

linkinfo-get
============
Get link info.

:attribute-set: :ref:`ethtool-attribute-set-linkinfo`
:do:
.. LINENO 1789

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``port``, ``phyaddr``, ``tp-mdix``, ``tp-mdix-ctrl``, ``transceiver``]

:dump:
.. LINENO 1789

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``port``, ``phyaddr``, ``tp-mdix``, ``tp-mdix-ctrl``, ``transceiver``]



.. LINENO 1803

.. _ethtool-operation-linkinfo-set:

linkinfo-set
============
Set link info.

:attribute-set: :ref:`ethtool-attribute-set-linkinfo`
:do:
.. LINENO 1809

    **request**
        :attributes: [``header``, ``port``, ``phyaddr``, ``tp-mdix``, ``tp-mdix-ctrl``, ``transceiver``]



.. LINENO 1812

.. _ethtool-operation-linkinfo-ntf:

linkinfo-ntf
============
Notification for change in link info.

:notify: linkinfo-get


.. LINENO 1816

.. _ethtool-operation-linkmodes-get:

linkmodes-get
=============
Get link modes.

:attribute-set: :ref:`ethtool-attribute-set-linkmodes`
:do:
.. LINENO 1821

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``autoneg``, ``ours``, ``peer``, ``speed``, ``duplex``, ``master-slave-cfg``, ``master-slave-state``, ``lanes``, ``rate-matching``]

:dump:
.. LINENO 1821

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``autoneg``, ``ours``, ``peer``, ``speed``, ``duplex``, ``master-slave-cfg``, ``master-slave-state``, ``lanes``, ``rate-matching``]



.. LINENO 1839

.. _ethtool-operation-linkmodes-set:

linkmodes-set
=============
Set link modes.

:attribute-set: :ref:`ethtool-attribute-set-linkmodes`
:do:
.. LINENO 1845

    **request**
        :attributes: [``header``, ``autoneg``, ``ours``, ``peer``, ``speed``, ``duplex``, ``master-slave-cfg``, ``master-slave-state``, ``lanes``, ``rate-matching``]



.. LINENO 1848

.. _ethtool-operation-linkmodes-ntf:

linkmodes-ntf
=============
Notification for change in link modes.

:notify: linkmodes-get


.. LINENO 1852

.. _ethtool-operation-linkstate-get:

linkstate-get
=============
Get link state.

:attribute-set: :ref:`ethtool-attribute-set-linkstate`
:do:
.. LINENO 1857

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``link``, ``sqi``, ``sqi-max``, ``ext-state``, ``ext-substate``, ``ext-down-cnt``]

:dump:
.. LINENO 1857

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``link``, ``sqi``, ``sqi-max``, ``ext-state``, ``ext-substate``, ``ext-down-cnt``]



.. LINENO 1872

.. _ethtool-operation-debug-get:

debug-get
=========
Get debug message mask.

:attribute-set: :ref:`ethtool-attribute-set-debug`
:do:
.. LINENO 1877

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``msgmask``]

:dump:
.. LINENO 1877

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``msgmask``]



.. LINENO 1887

.. _ethtool-operation-debug-set:

debug-set
=========
Set debug message mask.

:attribute-set: :ref:`ethtool-attribute-set-debug`
:do:
.. LINENO 1893

    **request**
        :attributes: [``header``, ``msgmask``]



.. LINENO 1896

.. _ethtool-operation-debug-ntf:

debug-ntf
=========
Notification for change in debug message mask.

:notify: debug-get


.. LINENO 1900

.. _ethtool-operation-wol-get:

wol-get
=======
Get WOL params.

:attribute-set: :ref:`ethtool-attribute-set-wol`
:do:
.. LINENO 1905

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``modes``, ``sopass``]

:dump:
.. LINENO 1905

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``modes``, ``sopass``]



.. LINENO 1916

.. _ethtool-operation-wol-set:

wol-set
=======
Set WOL params.

:attribute-set: :ref:`ethtool-attribute-set-wol`
:do:
.. LINENO 1922

    **request**
        :attributes: [``header``, ``modes``, ``sopass``]



.. LINENO 1925

.. _ethtool-operation-wol-ntf:

wol-ntf
=======
Notification for change in WOL params.

:notify: wol-get


.. LINENO 1929

.. _ethtool-operation-features-get:

features-get
============
Get features.

:attribute-set: :ref:`ethtool-attribute-set-features`
:do:
.. LINENO 1934

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``hw``, ``wanted``, ``active``, ``nochange``]

:dump:
.. LINENO 1934

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``hw``, ``wanted``, ``active``, ``nochange``]



.. LINENO 1951

.. _ethtool-operation-features-set:

features-set
============
Set features.

:attribute-set: :ref:`ethtool-attribute-set-features`
:do:
.. LINENO 1956

    **request**
        :attributes: [``header``, ``hw``, ``wanted``, ``active``, ``nochange``]

    **reply**
        :attributes: [``header``, ``hw``, ``wanted``, ``active``, ``nochange``]



.. LINENO 1962

.. _ethtool-operation-features-ntf:

features-ntf
============
Notification for change in features.

:notify: features-get


.. LINENO 1966

.. _ethtool-operation-privflags-get:

privflags-get
=============
Get device private flags.

:attribute-set: :ref:`ethtool-attribute-set-privflags`
:do:
.. LINENO 1971

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``flags``]

:dump:
.. LINENO 1971

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``flags``]



.. LINENO 1981

.. _ethtool-operation-privflags-set:

privflags-set
=============
Set device private flags.

:attribute-set: :ref:`ethtool-attribute-set-privflags`
:do:
.. LINENO 1987

    **request**
        :attributes: [``header``, ``flags``]



.. LINENO 1990

.. _ethtool-operation-privflags-ntf:

privflags-ntf
=============
Notification for change in device private flags.

:notify: privflags-get


.. LINENO 1995

.. _ethtool-operation-rings-get:

rings-get
=========
Get ring params.

:attribute-set: :ref:`ethtool-attribute-set-rings`
:do:
.. LINENO 2000

    **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:
.. LINENO 2000

    **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``]



.. LINENO 2026

.. _ethtool-operation-rings-set:

rings-set
=========
Set ring params.

:attribute-set: :ref:`ethtool-attribute-set-rings`
:do:
.. LINENO 2032

    **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``]



.. LINENO 2035

.. _ethtool-operation-rings-ntf:

rings-ntf
=========
Notification for change in ring params.

:notify: rings-get


.. LINENO 2039

.. _ethtool-operation-channels-get:

channels-get
============
Get channel params.

:attribute-set: :ref:`ethtool-attribute-set-channels`
:do:
.. LINENO 2044

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``rx-max``, ``tx-max``, ``other-max``, ``combined-max``, ``rx-count``, ``tx-count``, ``other-count``, ``combined-count``]

:dump:
.. LINENO 2044

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``rx-max``, ``tx-max``, ``other-max``, ``combined-max``, ``rx-count``, ``tx-count``, ``other-count``, ``combined-count``]



.. LINENO 2061

.. _ethtool-operation-channels-set:

channels-set
============
Set channel params.

:attribute-set: :ref:`ethtool-attribute-set-channels`
:do:
.. LINENO 2067

    **request**
        :attributes: [``header``, ``rx-max``, ``tx-max``, ``other-max``, ``combined-max``, ``rx-count``, ``tx-count``, ``other-count``, ``combined-count``]



.. LINENO 2070

.. _ethtool-operation-channels-ntf:

channels-ntf
============
Notification for change in channel params.

:notify: channels-get


.. LINENO 2074

.. _ethtool-operation-coalesce-get:

coalesce-get
============
Get coalesce params.

:attribute-set: :ref:`ethtool-attribute-set-coalesce`
:do:
.. LINENO 2079

    **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:
.. LINENO 2079

    **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``]



.. LINENO 2117

.. _ethtool-operation-coalesce-set:

coalesce-set
============
Set coalesce params.

:attribute-set: :ref:`ethtool-attribute-set-coalesce`
:do:
.. LINENO 2123

    **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``]



.. LINENO 2126

.. _ethtool-operation-coalesce-ntf:

coalesce-ntf
============
Notification for change in coalesce params.

:notify: coalesce-get


.. LINENO 2130

.. _ethtool-operation-pause-get:

pause-get
=========
Get pause params.

:attribute-set: :ref:`ethtool-attribute-set-pause`
:do:
.. LINENO 2135

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``autoneg``, ``rx``, ``tx``, ``stats``, ``stats-src``]

:dump:
.. LINENO 2135

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``autoneg``, ``rx``, ``tx``, ``stats``, ``stats-src``]



.. LINENO 2149

.. _ethtool-operation-pause-set:

pause-set
=========
Set pause params.

:attribute-set: :ref:`ethtool-attribute-set-pause`
:do:
.. LINENO 2155

    **request**
        :attributes: [``header``, ``autoneg``, ``rx``, ``tx``, ``stats``, ``stats-src``]



.. LINENO 2158

.. _ethtool-operation-pause-ntf:

pause-ntf
=========
Notification for change in pause params.

:notify: pause-get


.. LINENO 2162

.. _ethtool-operation-eee-get:

eee-get
=======
Get eee params.

:attribute-set: :ref:`ethtool-attribute-set-eee`
:do:
.. LINENO 2167

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``modes-ours``, ``modes-peer``, ``active``, ``enabled``, ``tx-lpi-enabled``, ``tx-lpi-timer``]

:dump:
.. LINENO 2167

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``modes-ours``, ``modes-peer``, ``active``, ``enabled``, ``tx-lpi-enabled``, ``tx-lpi-timer``]



.. LINENO 2182

.. _ethtool-operation-eee-set:

eee-set
=======
Set eee params.

:attribute-set: :ref:`ethtool-attribute-set-eee`
:do:
.. LINENO 2188

    **request**
        :attributes: [``header``, ``modes-ours``, ``modes-peer``, ``active``, ``enabled``, ``tx-lpi-enabled``, ``tx-lpi-timer``]



.. LINENO 2191

.. _ethtool-operation-eee-ntf:

eee-ntf
=======
Notification for change in eee params.

:notify: eee-get


.. LINENO 2195

.. _ethtool-operation-tsinfo-get:

tsinfo-get
==========
Get tsinfo params.

:attribute-set: :ref:`ethtool-attribute-set-tsinfo`
:do:
.. LINENO 2200

    **request**
        :attributes: [``header``, ``hwtstamp-provider``]

    **reply**
        :attributes: [``header``, ``timestamping``, ``tx-types``, ``rx-filters``, ``phc-index``, ``stats``, ``hwtstamp-provider``, ``hwtstamp-source``, ``hwtstamp-phyindex``]

:dump:
.. LINENO 2200

    **request**
        :attributes: [``header``, ``hwtstamp-provider``]

    **reply**
        :attributes: [``header``, ``timestamping``, ``tx-types``, ``rx-filters``, ``phc-index``, ``stats``, ``hwtstamp-provider``, ``hwtstamp-source``, ``hwtstamp-phyindex``]



.. LINENO 2218

.. _ethtool-operation-cable-test-act:

cable-test-act
==============
Cable test.

:attribute-set: :ref:`ethtool-attribute-set-cable-test`
:do:
.. LINENO 2224

    **request**
        :attributes: [``header``]



.. LINENO 2228

.. _ethtool-operation-cable-test-ntf:

cable-test-ntf
==============
Cable test notification.

:attribute-set: :ref:`ethtool-attribute-set-cable-test-ntf`
:event: {'attributes': ['header', 'status'], '__lineno__': 2234}


.. LINENO 2238

.. _ethtool-operation-cable-test-tdr-act:

cable-test-tdr-act
==================
Cable test TDR.

:attribute-set: :ref:`ethtool-attribute-set-cable-test-tdr`
:do:
.. LINENO 2244

    **request**
        :attributes: [``header``]



.. LINENO 2248

.. _ethtool-operation-cable-test-tdr-ntf:

cable-test-tdr-ntf
==================
Cable test TDR notification.

:attribute-set: :ref:`ethtool-attribute-set-cable-test-tdr-ntf`
:event: {'attributes': ['header', 'status', 'nest'], '__lineno__': 2254}


.. LINENO 2259

.. _ethtool-operation-tunnel-info-get:

tunnel-info-get
===============
Get tsinfo params.

:attribute-set: :ref:`ethtool-attribute-set-tunnel-info`
:do:
.. LINENO 2264

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``udp-ports``]

:dump:
.. LINENO 2264

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``udp-ports``]



.. LINENO 2274

.. _ethtool-operation-fec-get:

fec-get
=======
Get FEC params.

:attribute-set: :ref:`ethtool-attribute-set-fec`
:do:
.. LINENO 2279

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``modes``, ``auto``, ``active``, ``stats``]

:dump:
.. LINENO 2279

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``modes``, ``auto``, ``active``, ``stats``]



.. LINENO 2292

.. _ethtool-operation-fec-set:

fec-set
=======
Set FEC params.

:attribute-set: :ref:`ethtool-attribute-set-fec`
:do:
.. LINENO 2298

    **request**
        :attributes: [``header``, ``modes``, ``auto``, ``active``, ``stats``]



.. LINENO 2301

.. _ethtool-operation-fec-ntf:

fec-ntf
=======
Notification for change in FEC params.

:notify: fec-get


.. LINENO 2305

.. _ethtool-operation-module-eeprom-get:

module-eeprom-get
=================
Get module EEPROM params.

:attribute-set: :ref:`ethtool-attribute-set-module-eeprom`
:do:
.. LINENO 2310

    **request**
        :attributes: [``header``, ``offset``, ``length``, ``page``, ``bank``, ``i2c-address``]

    **reply**
        :attributes: [``header``, ``data``]

:dump:
.. LINENO 2310

    **request**
        :attributes: [``header``, ``offset``, ``length``, ``page``, ``bank``, ``i2c-address``]

    **reply**
        :attributes: [``header``, ``data``]



.. LINENO 2325

.. _ethtool-operation-stats-get:

stats-get
=========
Get statistics.

:attribute-set: :ref:`ethtool-attribute-set-stats`
:do:
.. LINENO 2330

    **request**
        :attributes: [``header``, ``groups``]

    **reply**
        :attributes: [``header``, ``groups``, ``grp``, ``src``]

:dump:
.. LINENO 2330

    **request**
        :attributes: [``header``, ``groups``]

    **reply**
        :attributes: [``header``, ``groups``, ``grp``, ``src``]



.. LINENO 2343

.. _ethtool-operation-phc-vclocks-get:

phc-vclocks-get
===============
Get PHC VCLOCKs.

:attribute-set: :ref:`ethtool-attribute-set-phc-vclocks`
:do:
.. LINENO 2348

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``num``]

:dump:
.. LINENO 2348

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``num``]



.. LINENO 2358

.. _ethtool-operation-module-get:

module-get
==========
Get module params.

:attribute-set: :ref:`ethtool-attribute-set-module`
:do:
.. LINENO 2363

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``power-mode-policy``, ``power-mode``]

:dump:
.. LINENO 2363

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``power-mode-policy``, ``power-mode``]



.. LINENO 2374

.. _ethtool-operation-module-set:

module-set
==========
Set module params.

:attribute-set: :ref:`ethtool-attribute-set-module`
:do:
.. LINENO 2380

    **request**
        :attributes: [``header``, ``power-mode-policy``, ``power-mode``]



.. LINENO 2383

.. _ethtool-operation-module-ntf:

module-ntf
==========
Notification for change in module params.

:notify: module-get


.. LINENO 2387

.. _ethtool-operation-pse-get:

pse-get
=======
Get Power Sourcing Equipment params.

:attribute-set: :ref:`ethtool-attribute-set-pse`
:do:
.. LINENO 2392

    **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``]

:dump:
.. LINENO 2392

    **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``]



.. LINENO 2413

.. _ethtool-operation-pse-set:

pse-set
=======
Set Power Sourcing Equipment params.

:attribute-set: :ref:`ethtool-attribute-set-pse`
:do:
.. LINENO 2419

    **request**
        :attributes: [``header``, ``podl-pse-admin-control``, ``c33-pse-admin-control``, ``c33-pse-avail-pw-limit``]



.. LINENO 2426

.. _ethtool-operation-rss-get:

rss-get
=======
Get RSS params.

:attribute-set: :ref:`ethtool-attribute-set-rss`
:do:
.. LINENO 2432

    **request**
        :attributes: [``header``, ``context``]

    **reply**
        :attributes: [``header``, ``context``, ``hfunc``, ``indir``, ``hkey``, ``input-xfrm``, ``flow-hash``]

:dump:
.. LINENO 2446

    **request**
        :attributes: [``header``, ``start-context``]

    **reply**
        :attributes: [``header``, ``context``, ``hfunc``, ``indir``, ``hkey``, ``input-xfrm``, ``flow-hash``]



.. LINENO 2452

.. _ethtool-operation-plca-get-cfg:

plca-get-cfg
============
Get PLCA params.

:attribute-set: :ref:`ethtool-attribute-set-plca`
:do:
.. LINENO 2457

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``version``, ``enabled``, ``status``, ``node-cnt``, ``node-id``, ``to-tmr``, ``burst-cnt``, ``burst-tmr``]

:dump:
.. LINENO 2457

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``version``, ``enabled``, ``status``, ``node-cnt``, ``node-id``, ``to-tmr``, ``burst-cnt``, ``burst-tmr``]



.. LINENO 2474

.. _ethtool-operation-plca-set-cfg:

plca-set-cfg
============
Set PLCA params.

:attribute-set: :ref:`ethtool-attribute-set-plca`
:do:
.. LINENO 2480

    **request**
        :attributes: [``header``, ``version``, ``enabled``, ``status``, ``node-cnt``, ``node-id``, ``to-tmr``, ``burst-cnt``, ``burst-tmr``]



.. LINENO 2483

.. _ethtool-operation-plca-get-status:

plca-get-status
===============
Get PLCA status params.

:attribute-set: :ref:`ethtool-attribute-set-plca`
:do:
.. LINENO 2488

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``version``, ``enabled``, ``status``, ``node-cnt``, ``node-id``, ``to-tmr``, ``burst-cnt``, ``burst-tmr``]

:dump:
.. LINENO 2488

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``version``, ``enabled``, ``status``, ``node-cnt``, ``node-id``, ``to-tmr``, ``burst-cnt``, ``burst-tmr``]



.. LINENO 2496

.. _ethtool-operation-plca-ntf:

plca-ntf
========
Notification for change in PLCA params.

:notify: plca-get-cfg


.. LINENO 2500

.. _ethtool-operation-mm-get:

mm-get
======
Get MAC Merge configuration and state

:attribute-set: :ref:`ethtool-attribute-set-mm`
:do:
.. LINENO 2505

    **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:
.. LINENO 2505

    **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``]



.. LINENO 2523

.. _ethtool-operation-mm-set:

mm-set
======
Set MAC Merge configuration

:attribute-set: :ref:`ethtool-attribute-set-mm`
:do:
.. LINENO 2529

    **request**
        :attributes: [``header``, ``verify-enabled``, ``verify-time``, ``tx-enabled``, ``pmac-enabled``, ``tx-min-frag-size``]



.. LINENO 2538

.. _ethtool-operation-mm-ntf:

mm-ntf
======
Notification for change in MAC Merge configuration.

:notify: mm-get


.. LINENO 2542

.. _ethtool-operation-module-fw-flash-act:

module-fw-flash-act
===================
Flash transceiver module firmware.

:attribute-set: :ref:`ethtool-attribute-set-module-fw-flash`
:do:
.. LINENO 2548

    **request**
        :attributes: [``header``, ``file-name``, ``password``]



.. LINENO 2554

.. _ethtool-operation-module-fw-flash-ntf:

module-fw-flash-ntf
===================
Notification for firmware flashing progress and status.

:attribute-set: :ref:`ethtool-attribute-set-module-fw-flash`
:event: {'attributes': ['header', 'status', 'status-msg', 'done', 'total'], '__lineno__': 2560}


.. LINENO 2567

.. _ethtool-operation-phy-get:

phy-get
=======
Get PHY devices attached to an interface

:attribute-set: :ref:`ethtool-attribute-set-phy`
:do:
.. LINENO 2572

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``index``, ``drvname``, ``name``, ``upstream-type``, ``upstream-index``, ``upstream-sfp-name``, ``downstream-sfp-name``]

:dump:
.. LINENO 2572

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``index``, ``drvname``, ``name``, ``upstream-type``, ``upstream-index``, ``upstream-sfp-name``, ``downstream-sfp-name``]



.. LINENO 2588

.. _ethtool-operation-phy-ntf:

phy-ntf
=======
Notification for change in PHY devices.

:notify: phy-get


.. LINENO 2592

.. _ethtool-operation-tsconfig-get:

tsconfig-get
============
Get hwtstamp config.

:attribute-set: :ref:`ethtool-attribute-set-tsconfig`
:do:
.. LINENO 2597

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``hwtstamp-provider``, ``tx-types``, ``rx-filters``, ``hwtstamp-flags``]

:dump:
.. LINENO 2597

    **request**
        :attributes: [``header``]

    **reply**
        :attributes: [``header``, ``hwtstamp-provider``, ``tx-types``, ``rx-filters``, ``hwtstamp-flags``]



.. LINENO 2610

.. _ethtool-operation-tsconfig-set:

tsconfig-set
============
Set hwtstamp config.

:attribute-set: :ref:`ethtool-attribute-set-tsconfig`
:do:
.. LINENO 2616

    **request**
        :attributes: [``header``, ``hwtstamp-provider``, ``tx-types``, ``rx-filters``, ``hwtstamp-flags``]

    **reply**
        :attributes: [``header``, ``hwtstamp-provider``, ``tx-types``, ``rx-filters``, ``hwtstamp-flags``]



.. LINENO 2621

.. _ethtool-operation-rss-set:

rss-set
=======
Set RSS params.

:attribute-set: :ref:`ethtool-attribute-set-rss`
:do:
.. LINENO 2627

    **request**
        :attributes: [``header``, ``context``, ``hfunc``, ``indir``, ``hkey``, ``input-xfrm``, ``flow-hash``]



.. LINENO 2637

.. _ethtool-operation-rss-ntf:

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


.. LINENO 2644

.. _ethtool-operation-rss-create-act:

rss-create-act
==============
Create an RSS context.

:attribute-set: :ref:`ethtool-attribute-set-rss`
:do:
.. LINENO 2648

    **request**
        :attributes: [``header``, ``context``, ``hfunc``, ``indir``, ``hkey``, ``input-xfrm``]

    **reply**
        :attributes: [``header``, ``context``, ``hfunc``, ``indir``, ``hkey``, ``input-xfrm``]



.. LINENO 2658

.. _ethtool-operation-rss-create-ntf:

rss-create-ntf
==============
Notification for creation of an additional RSS context.


:notify: rss-create-act


.. LINENO 2663

.. _ethtool-operation-rss-delete-act:

rss-delete-act
==============
Delete an RSS context.

:attribute-set: :ref:`ethtool-attribute-set-rss`
:do:
.. LINENO 2667

    **request**
        :attributes: [``header``, ``context``]



.. LINENO 2672

.. _ethtool-operation-rss-delete-ntf:

rss-delete-ntf
==============
Notification for deletion of an additional RSS context.


:attribute-set: :ref:`ethtool-attribute-set-rss`
:event: {'attributes': ['header', 'context'], '__lineno__': 2677}



----------------
Multicast groups
----------------


- monitor

-----------
Definitions
-----------


.. LINENO 14

.. _ethtool-definition-udp-tunnel-type:

udp-tunnel-type
===============
:enum-name: None
:type: enum
:enum-cnt-name: __ethtool-udp-tunnel-type-cnt


:entries:
    - ``vxlan``
    - ``geneve``
    - ``vxlan-gpe``


.. LINENO 21

.. _ethtool-definition-stringset:

stringset
=========
:type: enum
:header: linux/ethtool.h


:entries:


.. LINENO 26

.. _ethtool-definition-header-flags:

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


.. LINENO 41

.. _ethtool-definition-module-fw-flash-status:

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.


.. LINENO 59

.. _ethtool-definition-c33-pse-ext-state:

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


.. LINENO 93

.. _ethtool-definition-phy-upstream-type:

phy-upstream-type
=================
:enum-name: phy-upstream
:header: linux/ethtool.h
:type: enum
:name-prefix: phy-upstream


:entries:
    - ``mac``
    - ``phy``


.. LINENO 100

.. _ethtool-definition-tcp-data-split:

tcp-data-split
==============
:type: enum


:entries:
    - ``unknown``
    - ``disabled``
    - ``enabled``


.. LINENO 104

.. _ethtool-definition-hwtstamp-source:

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


.. LINENO 122

.. _ethtool-definition-input-xfrm:

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.


.. LINENO 142

.. _ethtool-definition-rxfh-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
--------------


.. _ethtool-attribute-set-header:

header
======
.. LINENO 180

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 184

dev-index (``u32``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 187

dev-name (``string``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 190

flags (``u32``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-header-flags`


.. LINENO 194

phy-index (``u32``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-bitset-bit:

bitset-bit
==========
.. LINENO 202

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 206

index (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 209

name (``string``)
~~~~~~~~~~~~~~~~~


.. LINENO 212

value (``flag``)
~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-bitset-bits:

bitset-bits
===========
.. LINENO 219

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 223

bit (``nest``)
~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-bitset-bit`


.. _ethtool-attribute-set-bitset:

bitset
======
.. LINENO 232

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 236

nomask (``flag``)
~~~~~~~~~~~~~~~~~


.. LINENO 239

size (``u32``)
~~~~~~~~~~~~~~


.. LINENO 242

bits (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset-bits`


.. LINENO 246

value (``binary``)
~~~~~~~~~~~~~~~~~~


.. LINENO 249

mask (``binary``)
~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-string:

string
======
.. LINENO 256

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 260

index (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 263

value (``string``)
~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-strings:

strings
=======
.. LINENO 270

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 274

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 278

string (``nest``)
~~~~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-string`


.. _ethtool-attribute-set-stringset:

stringset
=========
.. LINENO 287

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 291

id (``u32``)
~~~~~~~~~~~~


.. LINENO 294

count (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 297

strings (``nest``)
~~~~~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-strings`


.. _ethtool-attribute-set-stringsets:

stringsets
==========
.. LINENO 306

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 310

stringset (``nest``)
~~~~~~~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-stringset`


.. _ethtool-attribute-set-strset:

strset
======
.. LINENO 319

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 323

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 327

stringsets (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-stringsets`


.. LINENO 331

counts-only (``flag``)
~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-privflags:

privflags
=========
.. LINENO 339

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 343

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 347

flags (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. _ethtool-attribute-set-rings:

rings
=====
.. LINENO 356

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 360

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 364

rx-max (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 367

rx-mini-max (``u32``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 370

rx-jumbo-max (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 373

tx-max (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 376

rx (``u32``)
~~~~~~~~~~~~


.. LINENO 379

rx-mini (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 382

rx-jumbo (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 385

tx (``u32``)
~~~~~~~~~~~~


.. LINENO 388

rx-buf-len (``u32``)
~~~~~~~~~~~~~~~~~~~~


.. LINENO 391

tcp-data-split (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-tcp-data-split`


.. LINENO 395

cqe-size (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 398

tx-push (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 401

rx-push (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 404

tx-push-buf-len (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 407

tx-push-buf-len-max (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 410

hds-thresh (``u32``)
~~~~~~~~~~~~~~~~~~~~


.. LINENO 413

hds-thresh-max (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-mm-stat:

mm-stat
=======
MAC Merge (802.3)

.. LINENO 422

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 426

pad (``pad``)
~~~~~~~~~~~~~


.. LINENO 429

reassembly-errors (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:doc: aMACMergeFrameAssErrorCount


.. LINENO 433

smd-errors (``u64``)
~~~~~~~~~~~~~~~~~~~~
:doc: aMACMergeFrameSmdErrorCount


.. LINENO 437

reassembly-ok (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~
:doc: aMACMergeFrameAssOkCount


.. LINENO 441

rx-frag-count (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~
:doc: aMACMergeFragCountRx


.. LINENO 445

tx-frag-count (``u64``)
~~~~~~~~~~~~~~~~~~~~~~~
:doc: aMACMergeFragCountTx


.. LINENO 449

hold-count (``u64``)
~~~~~~~~~~~~~~~~~~~~
:doc: aMACMergeHoldCount


.. _ethtool-attribute-set-mm:

mm
==
.. LINENO 457

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 461

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 465

pmac-enabled (``u8``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 468

tx-enabled (``u8``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 471

tx-active (``u8``)
~~~~~~~~~~~~~~~~~~


.. LINENO 474

tx-min-frag-size (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 477

rx-min-frag-size (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 480

verify-enabled (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 483

verify-status (``u8``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 486

verify-time (``u32``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 489

max-verify-time (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 492

stats (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-mm-stat`


.. _ethtool-attribute-set-linkinfo:

linkinfo
========
.. LINENO 500

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 504

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 508

port (``u8``)
~~~~~~~~~~~~~


.. LINENO 511

phyaddr (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 514

tp-mdix (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 517

tp-mdix-ctrl (``u8``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 520

transceiver (``u8``)
~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-linkmodes:

linkmodes
=========
.. LINENO 527

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 531

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 535

autoneg (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 538

ours (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 542

peer (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 546

speed (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 549

duplex (``u8``)
~~~~~~~~~~~~~~~


.. LINENO 552

master-slave-cfg (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 555

master-slave-state (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 558

lanes (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 561

rate-matching (``u8``)
~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-linkstate:

linkstate
=========
.. LINENO 568

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 572

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 576

link (``u8``)
~~~~~~~~~~~~~


.. LINENO 579

sqi (``u32``)
~~~~~~~~~~~~~


.. LINENO 582

sqi-max (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 585

ext-state (``u8``)
~~~~~~~~~~~~~~~~~~


.. LINENO 588

ext-substate (``u8``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 591

ext-down-cnt (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-debug:

debug
=====
.. LINENO 598

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 602

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 606

msgmask (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. _ethtool-attribute-set-wol:

wol
===
.. LINENO 614

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 618

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 622

modes (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 626

sopass (``binary``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-features:

features
========
.. LINENO 633

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 637

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 641

hw (``nest``)
~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 645

wanted (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 649

active (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 653

nochange (``nest``)
~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. _ethtool-attribute-set-channels:

channels
========
.. LINENO 661

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 665

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 669

rx-max (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 672

tx-max (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 675

other-max (``u32``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 678

combined-max (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 681

rx-count (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 684

tx-count (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 687

other-count (``u32``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 690

combined-count (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-irq-moderation:

irq-moderation
==============
.. LINENO 698

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 702

usec (``u32``)
~~~~~~~~~~~~~~


.. LINENO 705

pkts (``u32``)
~~~~~~~~~~~~~~


.. LINENO 708

comps (``u32``)
~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-profile:

profile
=======
.. LINENO 715

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 719

irq-moderation (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-irq-moderation`


.. _ethtool-attribute-set-coalesce:

coalesce
========
.. LINENO 728

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 732

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 736

rx-usecs (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 739

rx-max-frames (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 742

rx-usecs-irq (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 745

rx-max-frames-irq (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 748

tx-usecs (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 751

tx-max-frames (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 754

tx-usecs-irq (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 757

tx-max-frames-irq (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 760

stats-block-usecs (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 763

use-adaptive-rx (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 766

use-adaptive-tx (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 769

pkt-rate-low (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 772

rx-usecs-low (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 775

rx-max-frames-low (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 778

tx-usecs-low (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 781

tx-max-frames-low (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 784

pkt-rate-high (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 787

rx-usecs-high (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 790

rx-max-frames-high (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 793

tx-usecs-high (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 796

tx-max-frames-high (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 799

rate-sample-interval (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 802

use-cqe-mode-tx (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 805

use-cqe-mode-rx (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 808

tx-aggr-max-bytes (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 811

tx-aggr-max-frames (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 814

tx-aggr-time-usecs (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 817

rx-profile (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-profile`


.. LINENO 821

tx-profile (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-profile`


.. _ethtool-attribute-set-pause-stat:

pause-stat
==========
.. LINENO 830

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 834

pad (``pad``)
~~~~~~~~~~~~~


.. LINENO 837

tx-frames (``u64``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 840

rx-frames (``u64``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-pause:

pause
=====
.. LINENO 847

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 851

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 855

autoneg (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 858

rx (``u8``)
~~~~~~~~~~~


.. LINENO 861

tx (``u8``)
~~~~~~~~~~~


.. LINENO 864

stats (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-pause-stat`


.. LINENO 868

stats-src (``u32``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-eee:

eee
===
.. LINENO 875

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 879

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 883

modes-ours (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 887

modes-peer (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 891

active (``u8``)
~~~~~~~~~~~~~~~


.. LINENO 894

enabled (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 897

tx-lpi-enabled (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 900

tx-lpi-timer (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-ts-stat:

ts-stat
=======
.. LINENO 907

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 911

tx-pkts (``uint``)
~~~~~~~~~~~~~~~~~~


.. LINENO 914

tx-lost (``uint``)
~~~~~~~~~~~~~~~~~~


.. LINENO 917

tx-err (``uint``)
~~~~~~~~~~~~~~~~~


.. LINENO 920

tx-onestep-pkts-unconfirmed (``uint``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-ts-hwtstamp-provider:

ts-hwtstamp-provider
====================
.. LINENO 927

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 931

index (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 934

qualifier (``u32``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-tsinfo:

tsinfo
======
.. LINENO 941

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 945

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 949

timestamping (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 953

tx-types (``nest``)
~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 957

rx-filters (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 961

phc-index (``u32``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 964

stats (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-ts-stat`


.. LINENO 968

hwtstamp-provider (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-ts-hwtstamp-provider`


.. LINENO 972

hwtstamp-source (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-hwtstamp-source`


.. LINENO 976

hwtstamp-phyindex (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-cable-result:

cable-result
============
.. LINENO 983

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 987

pair (``u8``)
~~~~~~~~~~~~~
:doc: ETHTOOL_A_CABLE_PAIR


.. LINENO 991

code (``u8``)
~~~~~~~~~~~~~
:doc: ETHTOOL_A_CABLE_RESULT_CODE


.. LINENO 995

src (``u32``)
~~~~~~~~~~~~~
:doc: ETHTOOL_A_CABLE_INF_SRC


.. _ethtool-attribute-set-cable-fault-length:

cable-fault-length
==================
.. LINENO 1003

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1007

pair (``u8``)
~~~~~~~~~~~~~


.. LINENO 1010

cm (``u32``)
~~~~~~~~~~~~


.. LINENO 1013

src (``u32``)
~~~~~~~~~~~~~


.. _ethtool-attribute-set-cable-nest:

cable-nest
==========
.. LINENO 1020

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1024

result (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-cable-result`


.. LINENO 1028

fault-length (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-cable-fault-length`


.. _ethtool-attribute-set-cable-test:

cable-test
==========
.. LINENO 1036

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1040

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. _ethtool-attribute-set-cable-test-ntf:

cable-test-ntf
==============
.. LINENO 1048

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1052

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1056

status (``u8``)
~~~~~~~~~~~~~~~
:doc: _STARTED/_COMPLETE


.. LINENO 1060

nest (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-cable-nest`


.. _ethtool-attribute-set-cable-test-tdr-cfg:

cable-test-tdr-cfg
==================
.. LINENO 1068

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1072

first (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 1075

last (``u32``)
~~~~~~~~~~~~~~


.. LINENO 1078

step (``u32``)
~~~~~~~~~~~~~~


.. LINENO 1081

pair (``u8``)
~~~~~~~~~~~~~


.. _ethtool-attribute-set-cable-test-tdr-ntf:

cable-test-tdr-ntf
==================
.. LINENO 1088

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1092

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1096

status (``u8``)
~~~~~~~~~~~~~~~


.. LINENO 1099

nest (``nest``)
~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-cable-nest`


.. _ethtool-attribute-set-cable-test-tdr:

cable-test-tdr
==============
.. LINENO 1107

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1111

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1115

cfg (``nest``)
~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-cable-test-tdr-cfg`


.. _ethtool-attribute-set-tunnel-udp-entry:

tunnel-udp-entry
================
.. LINENO 1123

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1127

port (``u16``)
~~~~~~~~~~~~~~
:byte-order: big-endian


.. LINENO 1131

type (``u32``)
~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-udp-tunnel-type`


.. _ethtool-attribute-set-tunnel-udp-table:

tunnel-udp-table
================
.. LINENO 1139

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1143

size (``u32``)
~~~~~~~~~~~~~~


.. LINENO 1146

types (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 1150

entry (``nest``)
~~~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-tunnel-udp-entry`


.. _ethtool-attribute-set-tunnel-udp:

tunnel-udp
==========
.. LINENO 1159

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1163

table (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-tunnel-udp-table`


.. _ethtool-attribute-set-tunnel-info:

tunnel-info
===========
.. LINENO 1171

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1175

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1179

udp-ports (``nest``)
~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-tunnel-udp`


.. _ethtool-attribute-set-fec-hist:

fec-hist
========
.. LINENO 1187

pad (``pad``)
~~~~~~~~~~~~~


.. LINENO 1190

bin-low (``u32``)
~~~~~~~~~~~~~~~~~
:doc: Low bound of FEC bin (inclusive)


.. LINENO 1194

bin-high (``u32``)
~~~~~~~~~~~~~~~~~~
:doc: High bound of FEC bin (inclusive)


.. LINENO 1198

bin-val (``uint``)
~~~~~~~~~~~~~~~~~~
:doc: Error count in the bin (optional if per-lane values exist)


.. LINENO 1202

bin-val-per-lane (``binary``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:sub-type: u64
:doc: An array of per-lane error counters in the bin (optional)


.. _ethtool-attribute-set-fec-stat:

fec-stat
========
.. LINENO 1211

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1215

pad (``pad``)
~~~~~~~~~~~~~


.. LINENO 1218

corrected (``binary``)
~~~~~~~~~~~~~~~~~~~~~~
:sub-type: u64


.. LINENO 1222

uncorr (``binary``)
~~~~~~~~~~~~~~~~~~~
:sub-type: u64


.. LINENO 1226

corr-bits (``binary``)
~~~~~~~~~~~~~~~~~~~~~~
:sub-type: u64


.. LINENO 1230

hist (``nest``)
~~~~~~~~~~~~~~~
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-fec-hist`


.. _ethtool-attribute-set-fec:

fec
===
.. LINENO 1239

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1243

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1247

modes (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 1251

auto (``u8``)
~~~~~~~~~~~~~


.. LINENO 1254

active (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 1257

stats (``nest``)
~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-fec-stat`


.. _ethtool-attribute-set-module-eeprom:

module-eeprom
=============
.. LINENO 1265

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1269

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1273

offset (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 1276

length (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 1279

page (``u8``)
~~~~~~~~~~~~~


.. LINENO 1282

bank (``u8``)
~~~~~~~~~~~~~


.. LINENO 1285

i2c-address (``u8``)
~~~~~~~~~~~~~~~~~~~~


.. LINENO 1288

data (``binary``)
~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-stats-grp:

stats-grp
=========
.. LINENO 1295

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1299

pad (``pad``)
~~~~~~~~~~~~~


.. LINENO 1302

id (``u32``)
~~~~~~~~~~~~


.. LINENO 1305

ss-id (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 1308

stat (``u64``)
~~~~~~~~~~~~~~
:type-value: ['id']


.. LINENO 1312

hist-rx (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-stats-grp-hist`


.. LINENO 1316

hist-tx (``nest``)
~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-stats-grp-hist`


.. LINENO 1320

hist-bkt-low (``u32``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1323

hist-bkt-hi (``u32``)
~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1326

hist-val (``u64``)
~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-stats-grp-hist:

stats-grp-hist
==============
.. LINENO 1333

hist-bkt-low
~~~~~~~~~~~~


.. LINENO 1335

hist-bkt-hi
~~~~~~~~~~~


.. LINENO 1337

hist-val
~~~~~~~~


.. _ethtool-attribute-set-stats:

stats
=====
.. LINENO 1343

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1347

pad (``pad``)
~~~~~~~~~~~~~


.. LINENO 1350

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1354

groups (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 1358

grp (``nest``)
~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-stats-grp`


.. LINENO 1362

src (``u32``)
~~~~~~~~~~~~~


.. _ethtool-attribute-set-phc-vclocks:

phc-vclocks
===========
.. LINENO 1369

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1373

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1377

num (``u32``)
~~~~~~~~~~~~~


.. LINENO 1380

index (``binary``)
~~~~~~~~~~~~~~~~~~
:sub-type: s32


.. _ethtool-attribute-set-module:

module
======
.. LINENO 1388

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1392

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1396

power-mode-policy (``u8``)
~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1399

power-mode (``u8``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-c33-pse-pw-limit:

c33-pse-pw-limit
================
.. LINENO 1407

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1411

min (``u32``)
~~~~~~~~~~~~~


.. LINENO 1414

max (``u32``)
~~~~~~~~~~~~~


.. _ethtool-attribute-set-pse:

pse
===
.. LINENO 1421

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1425

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1429

podl-pse-admin-state (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1433

podl-pse-admin-control (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1437

podl-pse-pw-d-status (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1441

c33-pse-admin-state (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1445

c33-pse-admin-control (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1449

c33-pse-pw-d-status (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1453

c33-pse-pw-class (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1457

c33-pse-actual-pw (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1461

c33-pse-ext-state (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-
:enum: :ref:`ethtool-definition-c33-pse-ext-state`


.. LINENO 1466

c33-pse-ext-substate (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1470

c33-pse-avail-pw-limit (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-


.. LINENO 1474

c33-pse-pw-limit-ranges (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:name-prefix: ethtool-a-
:multi-attr: True
:nested-attributes: :ref:`ethtool-attribute-set-c33-pse-pw-limit`


.. _ethtool-attribute-set-flow:

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.


.. LINENO 1489

ether (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1493

ip4 (``uint``)
~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1497

ip6 (``uint``)
~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1501

tcp4 (``uint``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1505

tcp6 (``uint``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1509

udp4 (``uint``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1513

udp6 (``uint``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1517

sctp4 (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1521

sctp6 (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1525

ah4 (``uint``)
~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1529

ah6 (``uint``)
~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1533

esp4 (``uint``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1537

esp6 (``uint``)
~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1541

ah-esp4 (``uint``)
~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1545

ah-esp6 (``uint``)
~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1549

gtpu4 (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1553

gtpu6 (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1557

gtpc4 (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1561

gtpc6 (``uint``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1565

gtpc-teid4 (``uint``)
~~~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1569

gtpc-teid6 (``uint``)
~~~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1573

gtpu-eh4 (``uint``)
~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1577

gtpu-eh6 (``uint``)
~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1581

gtpu-ul4 (``uint``)
~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1585

gtpu-ul6 (``uint``)
~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1589

gtpu-dl4 (``uint``)
~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. LINENO 1593

gtpu-dl6 (``uint``)
~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-rxfh-fields`


.. _ethtool-attribute-set-rss:

rss
===
.. LINENO 1601

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1605

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1609

context (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 1612

hfunc (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 1615

indir (``binary``)
~~~~~~~~~~~~~~~~~~
:sub-type: u32


.. LINENO 1619

hkey (``binary``)
~~~~~~~~~~~~~~~~~


.. LINENO 1622

input-xfrm (``u32``)
~~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-input-xfrm`


.. LINENO 1626

start-context (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1629

flow-hash (``nest``)
~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-flow`


.. _ethtool-attribute-set-plca:

plca
====
.. LINENO 1637

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1641

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1645

version (``u16``)
~~~~~~~~~~~~~~~~~


.. LINENO 1648

enabled (``u8``)
~~~~~~~~~~~~~~~~


.. LINENO 1651

status (``u8``)
~~~~~~~~~~~~~~~


.. LINENO 1654

node-cnt (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 1657

node-id (``u32``)
~~~~~~~~~~~~~~~~~


.. LINENO 1660

to-tmr (``u32``)
~~~~~~~~~~~~~~~~


.. LINENO 1663

burst-cnt (``u32``)
~~~~~~~~~~~~~~~~~~~


.. LINENO 1666

burst-tmr (``u32``)
~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-module-fw-flash:

module-fw-flash
===============
.. LINENO 1673

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1677

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1681

file-name (``string``)
~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1684

password (``u32``)
~~~~~~~~~~~~~~~~~~


.. LINENO 1687

status (``u32``)
~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-module-fw-flash-status`


.. LINENO 1691

status-msg (``string``)
~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1694

done (``uint``)
~~~~~~~~~~~~~~~


.. LINENO 1697

total (``uint``)
~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-phy:

phy
===
.. LINENO 1704

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1708

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1712

index (``u32``)
~~~~~~~~~~~~~~~


.. LINENO 1715

drvname (``string``)
~~~~~~~~~~~~~~~~~~~~


.. LINENO 1718

name (``string``)
~~~~~~~~~~~~~~~~~


.. LINENO 1721

upstream-type (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~
:enum: :ref:`ethtool-definition-phy-upstream-type`


.. LINENO 1725

upstream-index (``u32``)
~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1728

upstream-sfp-name (``string``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. LINENO 1731

downstream-sfp-name (``string``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. _ethtool-attribute-set-tsconfig:

tsconfig
========
.. LINENO 1738

unspec (``unused``)
~~~~~~~~~~~~~~~~~~~
:value: 0


.. LINENO 1742

header (``nest``)
~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-header`


.. LINENO 1746

hwtstamp-provider (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-ts-hwtstamp-provider`


.. LINENO 1750

tx-types (``nest``)
~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 1754

rx-filters (``nest``)
~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`


.. LINENO 1758

hwtstamp-flags (``nest``)
~~~~~~~~~~~~~~~~~~~~~~~~~
:nested-attributes: :ref:`ethtool-attribute-set-bitset`