0001 What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode
0002 Date: Oct 2020
0003 KernelVersion: 5.12
0004 Contact: Xu Yilun <yilun.xu@intel.com>
0005 Description: Read-only. Returns the FEC mode of the 25G links of the
0006 ethernet retimers configured by Nios firmware. "rs" for Reed
0007 Solomon FEC, "kr" for Fire Code FEC, "no" for NO FEC.
0008 "not supported" if the FEC mode setting is not supported, this
0009 happens when the Nios firmware version major < 3, or no link is
0010 configured to 25G.
0011 Format: string
0012
0013 What: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode
0014 Date: Oct 2020
0015 KernelVersion: 5.12
0016 Contact: Xu Yilun <yilun.xu@intel.com>
0017 Description: Read-only. Returns the enumeration value of the working mode of
0018 the retimer A configured by the Nios firmware. The value is
0019 read out from shared registers filled by the Nios firmware. Now
0020 the values could be:
0021
0022 - "0": Reset
0023 - "1": 4x10G
0024 - "2": 4x25G
0025 - "3": 2x25G
0026 - "4": 2x25G+2x10G
0027 - "5": 1x25G
0028
0029 If the Nios firmware is updated in future to support more
0030 retimer modes, more enumeration value is expected.
0031 Format: 0x%x
0032
0033 What: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode
0034 Date: Oct 2020
0035 KernelVersion: 5.12
0036 Contact: Xu Yilun <yilun.xu@intel.com>
0037 Description: Read-only. Returns the enumeration value of the working mode of
0038 the retimer B configured by the Nios firmware. The value format
0039 is the same as retimer_A_mode.
0040
0041 What: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version
0042 Date: Oct 2020
0043 KernelVersion: 5.12
0044 Contact: Xu Yilun <yilun.xu@intel.com>
0045 Description: Read-only. Returns the version of the Nios firmware in the
0046 FPGA. Its format is "major.minor.patch".
0047 Format: %x.%x.%x