요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
Link, traffic, and offload
sysfs-class-led-trigger-netdev:21-76Link의 steady state, tx·rx activity blink와 software fallback·hardware offload 상태를 연결합니다.
Link speed indicators
sysfs-class-led-trigger-netdev:78-16610·100·1000·2500·5000·10000 Mbps별 link 속성이 지원 capability에 따라 조건부로 나타납니다.
Duplex indicators
sysfs-class-led-trigger-netdev:168-192Half-duplex와 full-duplex link state를 동일한 0·1 규칙으로 LED normal state에 반영합니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
What: /sys/class/leds/<led>/device_name
Date: Dec 2017
KernelVersion: 4.16
Contact: [email protected]
Description:
Specifies the network device name to monitor.
What: /sys/class/leds/<led>/interval
Date: Dec 2017
KernelVersion: 4.16
Contact: [email protected]
Description:
Specifies the duration of the LED blink in milliseconds.
Defaults to 50 ms.
When offloaded is true, the interval value MUST be set to the
default value and cannot be changed.
Trying to set any value in this specific mode will return
an EINVAL error.
What: /sys/class/leds/<led>/link
Date: Dec 2017
KernelVersion: 4.16
Contact: [email protected]
Description:
Signal the link state 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
of the named network device.
Setting this value also immediately changes the LED state.
What: /sys/class/leds/<led>/tx
Date: Dec 2017
KernelVersion: 4.16
Contact: [email protected]
Description:
Signal transmission of data on the named network device.
If set to 0 (default), the LED will not blink on transmission.
If set to 1, the LED will blink for the milliseconds specified
in interval to signal transmission.
When offloaded is true, the blink interval is controlled by
hardware and won't reflect the value set in interval.
What: /sys/class/leds/<led>/rx
Date: Dec 2017
KernelVersion: 4.16
Contact: [email protected]
Description:
Signal reception of data on the named network device.
If set to 0 (default), the LED will not blink on reception.
If set to 1, the LED will blink for the milliseconds specified
in interval to signal reception.
When offloaded is true, the blink interval is controlled by
hardware and won't reflect the value set in interval.
What: /sys/class/leds/<led>/offloaded
Date: Jun 2023
KernelVersion: 6.5
Contact: [email protected]
Description:
Communicate whether the LED trigger modes are offloaded to
hardware or whether software fallback is used.
If 0, the LED is using software fallback to blink.
If 1, the LED blinking in requested mode is offloaded to
hardware.
What: /sys/class/leds/<led>/link_10
Date: Jun 2023
KernelVersion: 6.5
Contact: [email protected]
Description:
Signal the link speed state of 10Mbps 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 10MBps of the named network device.
Setting this value also immediately changes the LED state.
Present only if the named network device supports 10Mbps link speed.
What: /sys/class/leds/<led>/link_100
Date: Jun 2023
KernelVersion: 6.5
Contact: [email protected]
Description:
Signal the link speed state of 100Mbps 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 100Mbps of the named network device.
Setting this value also immediately changes the LED state.
Present only if the named network device supports 100Mbps link speed.
What: /sys/class/leds/<led>/link_1000
Date: Jun 2023
KernelVersion: 6.5
Contact: [email protected]
Description:
Signal the link speed state of 1000Mbps 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 1000Mbps of the named network device.
Setting this value also immediately changes the LED state.
Present only if the named network device supports 1000Mbps link speed.
What: /sys/class/leds/<led>/link_2500
Date: Nov 2023
KernelVersion: 6.8
Contact: [email protected]
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.
Present only if the named network device supports 2500Mbps link speed.
What: /sys/class/leds/<led>/link_5000
Date: Nov 2023
KernelVersion: 6.8
Contact: [email protected]
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.
Present only if the named network device supports 5000Mbps link speed.
What: /sys/class/leds/<led>/link_10000
Date: Nov 2023
KernelVersion: 6.8
Contact: [email protected]
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.
Present only if the named network device supports 10000Mbps link speed.
What: /sys/class/leds/<led>/half_duplex
Date: Jun 2023
KernelVersion: 6.5
Contact: [email protected]
Description:
Signal the link half duplex state 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 half
duplex state of the named network device.
Setting this value also immediately changes the LED state.
What: /sys/class/leds/<led>/full_duplex
Date: Jun 2023
KernelVersion: 6.5
Contact: [email protected]
Description:
Signal the link full duplex state 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 full
duplex state of the named network device.
Setting this value also immediately changes the LED state.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Monitored network device
1-6| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/device_name |
| Date | 2017년 12월 |
| KernelVersion | 4.16 |
| Contact | [email protected] |
| Description | 감시할 network device 이름을 지정합니다. |
Blink interval
8-19| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/interval |
| Date | 2017년 12월 |
| KernelVersion | 4.16 |
| Contact | [email protected] |
| Description | LED가 blink하는 시간을 millisecond 단위로 지정하며 기본값은 50 ms입니다. offloaded가 true이면 interval 값은 반드시 기본값으로 설정되어야 하고 변경할 수 없습니다. 이 mode에서 어떤 값이든 설정하려 하면 EINVAL error를 반환합니다. |
offloaded 상태에 따른 interval 속성과 실제 blink timing의 관계입니다.
Link state indication
21-32| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link |
| Date | 2017년 12월 |
| KernelVersion | 4.16 |
| Contact | [email protected] |
| Description | 지정한 network device의 link state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 link state를 반영하며, 이 값을 설정하면 LED state도 즉시 바뀝니다. |
Transmit activity indication
35-48| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/tx |
| Date | 2017년 12월 |
| KernelVersion | 4.16 |
| Contact | [email protected] |
| Description | 지정한 network device의 data transmission을 표시합니다. 0(기본값)이면 transmission 시 LED가 blink하지 않습니다. 1이면 transmission을 알리기 위해 interval에 지정된 millisecond 동안 LED가 blink합니다. offloaded가 true이면 blink interval은 hardware가 제어하므로 interval에 설정한 값을 반영하지 않습니다. |
Receive activity indication
50-63| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/rx |
| Date | 2017년 12월 |
| KernelVersion | 4.16 |
| Contact | [email protected] |
| Description | 지정한 network device의 data reception을 표시합니다. 0(기본값)이면 reception 시 LED가 blink하지 않습니다. 1이면 reception을 알리기 위해 interval에 지정된 millisecond 동안 LED가 blink합니다. offloaded가 true이면 blink interval은 hardware가 제어하므로 interval에 설정한 값을 반영하지 않습니다. |
Hardware offload state
65-76| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/offloaded |
| Date | 2023년 6월 |
| KernelVersion | 6.5 |
| Contact | [email protected] |
| Description | LED trigger mode가 hardware에 offload되었는지, 아니면 software fallback을 사용하는지 전달합니다. 0이면 LED가 software fallback으로 blink합니다. 1이면 요청한 mode의 LED blinking이 hardware에 offload됩니다. |
장치 선택부터 steady state와 activity blink, hardware offload까지의 관계입니다.
10 Mbps link indication
78-91| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link_10 |
| Date | 2023년 6월 |
| KernelVersion | 6.5 |
| Contact | [email protected] |
| Description | 지정한 network device의 10Mbps link speed state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 10MBps link speed state를 반영하며, 설정 즉시 LED state도 바뀝니다. 지정한 network device가 10Mbps link speed를 지원할 때만 존재합니다. |
각 속성은 선택한 network device가 해당 link speed를 지원할 때만 나타납니다.
100 Mbps link indication
93-106| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link_100 |
| Date | 2023년 6월 |
| KernelVersion | 6.5 |
| Contact | [email protected] |
| Description | 지정한 network device의 100Mbps link speed state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 100Mbps link speed state를 반영하며, 설정 즉시 LED state도 바뀝니다. 지정한 network device가 100Mbps link speed를 지원할 때만 존재합니다. |
1000 Mbps link indication
108-121| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link_1000 |
| Date | 2023년 6월 |
| KernelVersion | 6.5 |
| Contact | [email protected] |
| Description | 지정한 network device의 1000Mbps link speed state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 1000Mbps link speed state를 반영하며, 설정 즉시 LED state도 바뀝니다. 지정한 network device가 1000Mbps link speed를 지원할 때만 존재합니다. |
2500 Mbps link indication
123-136| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link_2500 |
| Date | 2023년 11월 |
| KernelVersion | 6.8 |
| Contact | [email protected] |
| Description | 지정한 network device의 2500Mbps link speed state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 2500Mbps link speed state를 반영하며, 설정 즉시 LED state도 바뀝니다. 지정한 network device가 2500Mbps link speed를 지원할 때만 존재합니다. |
5000 Mbps link indication
138-151| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link_5000 |
| Date | 2023년 11월 |
| KernelVersion | 6.8 |
| Contact | [email protected] |
| Description | 지정한 network device의 5000Mbps link speed state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 5000Mbps link speed state를 반영하며, 설정 즉시 LED state도 바뀝니다. 지정한 network device가 5000Mbps link speed를 지원할 때만 존재합니다. |
10000 Mbps link indication
153-166| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/link_10000 |
| Date | 2023년 11월 |
| KernelVersion | 6.8 |
| Contact | [email protected] |
| Description | 지정한 network device의 10000Mbps link speed state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 10000Mbps link speed state를 반영하며, 설정 즉시 LED state도 바뀝니다. 지정한 network device가 10000Mbps link speed를 지원할 때만 존재합니다. |
Half-duplex link indication
168-179| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/half_duplex |
| Date | 2023년 6월 |
| KernelVersion | 6.5 |
| Contact | [email protected] |
| Description | 지정한 network device의 link half-duplex state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 link half-duplex state를 반영하며, 설정 즉시 LED state도 바뀝니다. |
Full-duplex link indication
181-192| 항목 | 한국어 전문 번역 |
|---|---|
| What | /sys/class/leds/<led>/full_duplex |
| Date | 2023년 6월 |
| KernelVersion | 6.5 |
| Contact | [email protected] |
| Description | 지정한 network device의 link full-duplex state를 표시합니다. 0(기본값)이면 LED의 normal state는 off입니다. 1이면 LED의 normal state가 지정한 network device의 link full-duplex state를 반영하며, 설정 즉시 LED state도 바뀝니다. |
half_duplex와 full_duplex는 같은 boolean 규칙으로 해당 link state를 반영합니다.
Device selection and blink timing
sysfs-class-led-trigger-netdev:1-19감시할 network device를 선택하고 기본 50 ms interval 및 hardware offload 시 EINVAL 제약을 설명합니다.