1What: /sys/bus/dfl/devices/dfl_dev.X/fec_mode 2Date: Oct 2020 3KernelVersion: 5.12 4Contact: Xu Yilun <yilun.xu@intel.com> 5Description: 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 13What: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode 14Date: Oct 2020 15KernelVersion: 5.12 16Contact: Xu Yilun <yilun.xu@intel.com> 17Description: 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 33What: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode 34Date: Oct 2020 35KernelVersion: 5.12 36Contact: Xu Yilun <yilun.xu@intel.com> 37Description: 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 41What: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version 42Date: Oct 2020 43KernelVersion: 5.12 44Contact: Xu Yilun <yilun.xu@intel.com> 45Description: 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