docs: ABI: sysfs-class-led-trigger-netdev: Add new modes and entry
authorDaniel Golle <daniel@makrotopia.org>
Tue, 28 Nov 2023 04:00:39 +0000 (04:00 +0000)
committerLee Jones <lee@kernel.org>
Wed, 13 Dec 2023 11:24:55 +0000 (11:24 +0000)
Document newly introduced modes for the LED netdev trigger.

Add documentation for new modes:
- link_2500
- link_5000
- link_10000

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Link: https://lore.kernel.org/r/e72a6794639cf3881d698e1d34b456e747da1b95.1701143925.git.daniel@makrotopia.org
Signed-off-by: Lee Jones <lee@kernel.org>
Documentation/ABI/testing/sysfs-class-led-trigger-netdev

index f6d9d72ce77b7048177a5ca2123a09a3a2412ed1..a6c307c4befa099e5578e6bc8526255fcf55ca97 100644 (file)
@@ -114,6 +114,45 @@ Description:
                speed of 1000Mbps of the named network device.
                Setting this value also immediately changes the LED state.
 
+What:          /sys/class/leds/<led>/link_2500
+Date:          Nov 2023
+KernelVersion: 6.8
+Contact:       linux-leds@vger.kernel.org
+Description:
+               Signal the link speed state of 2500Mbps of the named network device.
+
+               If set to 0 (default), the LED's normal state is off.
+
+               If set to 1, the LED's normal state reflects the link state
+               speed of 2500Mbps of the named network device.
+               Setting this value also immediately changes the LED state.
+
+What:          /sys/class/leds/<led>/link_5000
+Date:          Nov 2023
+KernelVersion: 6.8
+Contact:       linux-leds@vger.kernel.org
+Description:
+               Signal the link speed state of 5000Mbps of the named network device.
+
+               If set to 0 (default), the LED's normal state is off.
+
+               If set to 1, the LED's normal state reflects the link state
+               speed of 5000Mbps of the named network device.
+               Setting this value also immediately changes the LED state.
+
+What:          /sys/class/leds/<led>/link_10000
+Date:          Nov 2023
+KernelVersion: 6.8
+Contact:       linux-leds@vger.kernel.org
+Description:
+               Signal the link speed state of 10000Mbps of the named network device.
+
+               If set to 0 (default), the LED's normal state is off.
+
+               If set to 1, the LED's normal state reflects the link state
+               speed of 10000Mbps of the named network device.
+               Setting this value also immediately changes the LED state.
+
 What:          /sys/class/leds/<led>/half_duplex
 Date:          Jun 2023
 KernelVersion: 6.5