← Documents Documentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

DFL N3000 Nios sysfs ABI

Intel N3000 Nios firmware가 구성한 ethernet retimer의 25G FEC mode, retimer A/B working mode와 FPGA firmware version을 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-bus-dfl-devices-n3000-nios
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

25G retimer FEC mode

sysfs-bus-dfl-devices-n3000-nios:1-11

fec_mode는 rs, kr, no를 반환하며 Nios firmware major version이 3 미만이거나 25G link가 없으면 not supported를 반환합니다.

Retimer A와 B working modes

sysfs-bus-dfl-devices-n3000-nios:13-39

retimer_A_mode는 reset과 10G·25G lane combinations를 0-5로 반환하고 retimer_B_mode는 같은 enumeration format을 사용합니다.

Nios firmware version

sysfs-bus-dfl-devices-n3000-nios:41-47

nios_fw_version은 FPGA의 Nios firmware version을 major.minor.patch 형식으로 반환합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode
2 Date: Oct 2020
3 KernelVersion: 5.12
4 Contact: Xu Yilun <yilun.xu@intel.com>
5 Description: Read-only. Returns the FEC mode of the 25G links of the
6 ethernet retimers configured by Nios firmware. "rs" for Reed
7 Solomon FEC, "kr" for Fire Code FEC, "no" for NO FEC.
8 "not supported" if the FEC mode setting is not supported, this
9 happens when the Nios firmware version major < 3, or no link is
10 configured to 25G.
11 Format: string
12
13 What: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode
14 Date: Oct 2020
15 KernelVersion: 5.12
16 Contact: Xu Yilun <yilun.xu@intel.com>
17 Description: Read-only. Returns the enumeration value of the working mode of
18 the retimer A configured by the Nios firmware. The value is
19 read out from shared registers filled by the Nios firmware. Now
20 the values could be:
21
22 - "0": Reset
23 - "1": 4x10G
24 - "2": 4x25G
25 - "3": 2x25G
26 - "4": 2x25G+2x10G
27 - "5": 1x25G
28
29 If the Nios firmware is updated in future to support more
30 retimer modes, more enumeration value is expected.
31 Format: 0x%x
32
33 What: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode
34 Date: Oct 2020
35 KernelVersion: 5.12
36 Contact: Xu Yilun <yilun.xu@intel.com>
37 Description: Read-only. Returns the enumeration value of the working mode of
38 the retimer B configured by the Nios firmware. The value format
39 is the same as retimer_A_mode.
40
41 What: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version
42 Date: Oct 2020
43 KernelVersion: 5.12
44 Contact: Xu Yilun <yilun.xu@intel.com>
45 Description: Read-only. Returns the version of the Nios firmware in the
46 FPGA. Its format is "major.minor.patch".
47 Format: %x.%x.%x
48

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

N3000 retimer FEC mode

1-11
항목전문 번역
What/sys/bus/dfl/devices/dfl_dev.X/fec_mode
Date2020년 10월
KernelVersion5.12
ContactXu Yilun <yilun.xu@intel.com>
DescriptionRead-only입니다. Nios firmware가 구성한 ethernet retimers의 25G links FEC mode를 반환합니다. rs는 Reed Solomon FEC, kr은 Fire Code FEC, no는 NO FEC입니다. FEC mode 설정이 지원되지 않으면 not supported를 반환하며, 이는 Nios firmware version major가 3보다 작거나 25G로 구성된 link가 없을 때 발생합니다. 형식은 string입니다.

N3000 retimer working-mode enumerations

13-39
항목전문 번역
What/sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode
Date2020년 10월
KernelVersion5.12
ContactXu Yilun <yilun.xu@intel.com>
DescriptionRead-only입니다. Nios firmware가 구성한 retimer A working mode의 enumeration value를 반환합니다. 값은 Nios firmware가 채운 shared registers에서 읽습니다. 향후 Nios firmware가 더 많은 retimer modes를 지원하면 enumeration values가 추가될 수 있습니다. 형식은 0x%x입니다.
ValueRetimer A mode
0Reset
14x10G
24x25G
32x25G
42x25G+2x10G
51x25G
항목전문 번역
What/sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode
Date2020년 10월
KernelVersion5.12
ContactXu Yilun <yilun.xu@intel.com>
DescriptionRead-only입니다. Nios firmware가 구성한 retimer B working mode의 enumeration value를 반환합니다. Value format은 retimer_A_mode와 같습니다.

Nios firmware version

41-47
항목전문 번역
What/sys/bus/dfl/devices/dfl_dev.X/nios_fw_version
Date2020년 10월
KernelVersion5.12
ContactXu Yilun <yilun.xu@intel.com>
DescriptionRead-only입니다. FPGA에 있는 Nios firmware version을 반환합니다. 형식은 major.minor.patch이며 출력 format은 %x.%x.%x입니다.