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