| 1 |
What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode |
| 2 |
Date: Oct 2020 |
| 3 |
KernelVersion: 5.12 |
| 4 |
Contact: Xu Yilun <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 <[email protected]> |
| 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 |