Re: [PATCH net-next 06/12] net: ethtool: Add PSE new port priority support feature
flat view
From: Oleksij Rempel <o.rempel@pengutronix.de>
Date: 2024-10-08 16:31:34
Also in:
linux-doc, lkml
On Wed, Oct 02, 2024 at 06:28:02PM +0200, Kory Maincent wrote:
From: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>
...
quoted hunk ↗ jump to hunk
PSE_SET =======@@ -1849,6 +1859,8 @@ Request contents: ``ETHTOOL_A_C33_PSE_ADMIN_CONTROL`` u32 Control PSE Admin state ``ETHTOOL_A_C33_PSE_AVAIL_PWR_LIMIT`` u32 Control PoE PSE available power limit + ``ETHTOOL_A_C33_PSE_PRIO`` u32 Control priority of the + PoE PSE ====================================== ====== ============================= When set, the optional ``ETHTOOL_A_PODL_PSE_ADMIN_CONTROL`` attribute is used@@ -1871,6 +1883,10 @@ various existing products that document power consumption in watts rather than classes. If power limit configuration based on classes is needed, the conversion can be done in user space, for example by ethtool. +When set, the optional ``ETHTOOL_A_C33_PSE_PRIO`` attributes is used to +control the C33 PSE priority. Allowed priority value are between zero +and the value of ``ETHTOOL_A_C33_PSE_PRIO_MAX`` attribute.
Please extend the documentation with expected system behavior: the meaning of lowest and highest values, power up and shutdown behaviors, etc. -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |