sysfs-bus-dfl-devices-n3000-nios 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. What: /sys/bus/dfl/devices/dfl_dev.X/retimer_A_mode
  13. Date: Oct 2020
  14. KernelVersion: 5.12
  15. Contact: Xu Yilun <[email protected]>
  16. Description: Read-only. Returns the enumeration value of the working mode of
  17. the retimer A configured by the Nios firmware. The value is
  18. read out from shared registers filled by the Nios firmware. Now
  19. the values could be:
  20. - "0": Reset
  21. - "1": 4x10G
  22. - "2": 4x25G
  23. - "3": 2x25G
  24. - "4": 2x25G+2x10G
  25. - "5": 1x25G
  26. If the Nios firmware is updated in future to support more
  27. retimer modes, more enumeration value is expected.
  28. Format: 0x%x
  29. What: /sys/bus/dfl/devices/dfl_dev.X/retimer_B_mode
  30. Date: Oct 2020
  31. KernelVersion: 5.12
  32. Contact: Xu Yilun <[email protected]>
  33. Description: Read-only. Returns the enumeration value of the working mode of
  34. the retimer B configured by the Nios firmware. The value format
  35. is the same as retimer_A_mode.
  36. What: /sys/bus/dfl/devices/dfl_dev.X/nios_fw_version
  37. Date: Oct 2020
  38. KernelVersion: 5.12
  39. Contact: Xu Yilun <[email protected]>
  40. Description: Read-only. Returns the version of the Nios firmware in the
  41. FPGA. Its format is "major.minor.patch".
  42. Format: %x.%x.%x