@@ -220,6 +220,8 @@ Userspace to kernel:
220220 ``ETHTOOL_MSG_PHC_VCLOCKS_GET `` get PHC virtual clocks info
221221 ``ETHTOOL_MSG_MODULE_SET `` set transceiver module parameters
222222 ``ETHTOOL_MSG_MODULE_GET `` get transceiver module parameters
223+ ``ETHTOOL_MSG_PSE_SET `` set PSE parameters
224+ ``ETHTOOL_MSG_PSE_GET `` get PSE parameters
223225 ===================================== =================================
224226
225227Kernel to userspace:
@@ -260,6 +262,7 @@ Kernel to userspace:
260262 ``ETHTOOL_MSG_STATS_GET_REPLY `` standard statistics
261263 ``ETHTOOL_MSG_PHC_VCLOCKS_GET_REPLY `` PHC virtual clocks info
262264 ``ETHTOOL_MSG_MODULE_GET_REPLY `` transceiver module parameters
265+ ``ETHTOOL_MSG_PSE_GET_REPLY `` PSE parameters
263266 ======================================== =================================
264267
265268``GET `` requests are sent by userspace applications to retrieve device
@@ -1627,6 +1630,62 @@ For SFF-8636 modules, low power mode is forced by the host according to table
16271630For CMIS modules, low power mode is forced by the host according to table 6-12
16281631in revision 5.0 of the specification.
16291632
1633+ PSE_GET
1634+ =======
1635+
1636+ Gets PSE attributes.
1637+
1638+ Request contents:
1639+
1640+ ===================================== ====== ==========================
1641+ ``ETHTOOL_A_PSE_HEADER `` nested request header
1642+ ===================================== ====== ==========================
1643+
1644+ Kernel response contents:
1645+
1646+ ====================================== ====== =============================
1647+ ``ETHTOOL_A_PSE_HEADER `` nested reply header
1648+ ``ETHTOOL_A_PODL_PSE_ADMIN_STATE `` u32 Operational state of the PoDL
1649+ PSE functions
1650+ ``ETHTOOL_A_PODL_PSE_PW_D_STATUS `` u32 power detection status of the
1651+ PoDL PSE.
1652+ ====================================== ====== =============================
1653+
1654+ When set, the optional ``ETHTOOL_A_PODL_PSE_ADMIN_STATE `` attribute identifies
1655+ the operational state of the PoDL PSE functions. The operational state of the
1656+ PSE function can be changed using the ``ETHTOOL_A_PODL_PSE_ADMIN_CONTROL ``
1657+ action. This option is corresponding to ``IEEE 802.3-2018 `` 30.15.1.1.2
1658+ aPoDLPSEAdminState. Possible values are:
1659+
1660+ .. kernel-doc :: include/uapi/linux/ethtool.h
1661+ :identifiers: ethtool_podl_pse_admin_state
1662+
1663+ When set, the optional ``ETHTOOL_A_PODL_PSE_PW_D_STATUS `` attribute identifies
1664+ the power detection status of the PoDL PSE. The status depend on internal PSE
1665+ state machine and automatic PD classification support. This option is
1666+ corresponding to ``IEEE 802.3-2018 `` 30.15.1.1.3 aPoDLPSEPowerDetectionStatus.
1667+ Possible values are:
1668+
1669+ .. kernel-doc :: include/uapi/linux/ethtool.h
1670+ :identifiers: ethtool_podl_pse_pw_d_status
1671+
1672+ PSE_SET
1673+ =======
1674+
1675+ Sets PSE parameters.
1676+
1677+ Request contents:
1678+
1679+ ====================================== ====== =============================
1680+ ``ETHTOOL_A_PSE_HEADER `` nested request header
1681+ ``ETHTOOL_A_PODL_PSE_ADMIN_CONTROL `` u32 Control PoDL PSE Admin state
1682+ ====================================== ====== =============================
1683+
1684+ When set, the optional ``ETHTOOL_A_PODL_PSE_ADMIN_CONTROL `` attribute is used
1685+ to control PoDL PSE Admin functions. This option is implementing
1686+ ``IEEE 802.3-2018 `` 30.15.1.2.1 acPoDLPSEAdminControl. See
1687+ ``ETHTOOL_A_PODL_PSE_ADMIN_STATE `` for supported values.
1688+
16301689Request translation
16311690===================
16321691
0 commit comments