Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: ABI: sysfs-class-led-trigger-netdev: Document now hidable link_*

Document now hidable link speed modes for the LED netdev trigger.

Link speed modes are now showed only if the named network device
supports them and are hidden if not.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Marek Behún <kabel@kernel.org>
Link: https://lore.kernel.org/r/20240111160501.1774-2-ansuelsmth@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Christian Marangi and committed by
Lee Jones
5fe5e2a3 06cdca01

+12
+12
Documentation/ABI/testing/sysfs-class-led-trigger-netdev
··· 88 88 speed of 10MBps of the named network device. 89 89 Setting this value also immediately changes the LED state. 90 90 91 + Present only if the named network device supports 10Mbps link speed. 92 + 91 93 What: /sys/class/leds/<led>/link_100 92 94 Date: Jun 2023 93 95 KernelVersion: 6.5 ··· 102 100 If set to 1, the LED's normal state reflects the link state 103 101 speed of 100Mbps of the named network device. 104 102 Setting this value also immediately changes the LED state. 103 + 104 + Present only if the named network device supports 100Mbps link speed. 105 105 106 106 What: /sys/class/leds/<led>/link_1000 107 107 Date: Jun 2023 ··· 118 114 speed of 1000Mbps of the named network device. 119 115 Setting this value also immediately changes the LED state. 120 116 117 + Present only if the named network device supports 1000Mbps link speed. 118 + 121 119 What: /sys/class/leds/<led>/link_2500 122 120 Date: Nov 2023 123 121 KernelVersion: 6.8 ··· 132 126 If set to 1, the LED's normal state reflects the link state 133 127 speed of 2500Mbps of the named network device. 134 128 Setting this value also immediately changes the LED state. 129 + 130 + Present only if the named network device supports 2500Mbps link speed. 135 131 136 132 What: /sys/class/leds/<led>/link_5000 137 133 Date: Nov 2023 ··· 148 140 speed of 5000Mbps of the named network device. 149 141 Setting this value also immediately changes the LED state. 150 142 143 + Present only if the named network device supports 5000Mbps link speed. 144 + 151 145 What: /sys/class/leds/<led>/link_10000 152 146 Date: Nov 2023 153 147 KernelVersion: 6.8 ··· 162 152 If set to 1, the LED's normal state reflects the link state 163 153 speed of 10000Mbps of the named network device. 164 154 Setting this value also immediately changes the LED state. 155 + 156 + Present only if the named network device supports 10000Mbps link speed. 165 157 166 158 What: /sys/class/leds/<led>/half_duplex 167 159 Date: Jun 2023