sysfs-devices-hisi_ptt 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune
  2. Date: October 2022
  3. KernelVersion: 6.1
  4. Contact: Yicong Yang <[email protected]>
  5. Description: This directory contains files for tuning the PCIe link
  6. parameters(events). Each file is named after the event
  7. of the PCIe link.
  8. See Documentation/trace/hisi-ptt.rst for more information.
  9. What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl
  10. Date: October 2022
  11. KernelVersion: 6.1
  12. Contact: Yicong Yang <[email protected]>
  13. Description: (RW) Controls the weight of Tx completion TLPs, which influence
  14. the proportion of outbound completion TLPs on the PCIe link.
  15. The available tune data is [0, 1, 2]. Writing a negative value
  16. will return an error, and out of range values will be converted
  17. to 2. The value indicates a probable level of the event.
  18. What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np
  19. Date: October 2022
  20. KernelVersion: 6.1
  21. Contact: Yicong Yang <[email protected]>
  22. Description: (RW) Controls the weight of Tx non-posted TLPs, which influence
  23. the proportion of outbound non-posted TLPs on the PCIe link.
  24. The available tune data is [0, 1, 2]. Writing a negative value
  25. will return an error, and out of range values will be converted
  26. to 2. The value indicates a probable level of the event.
  27. What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p
  28. Date: October 2022
  29. KernelVersion: 6.1
  30. Contact: Yicong Yang <[email protected]>
  31. Description: (RW) Controls the weight of Tx posted TLPs, which influence the
  32. proportion of outbound posted TLPs on the PCIe link.
  33. The available tune data is [0, 1, 2]. Writing a negative value
  34. will return an error, and out of range values will be converted
  35. to 2. The value indicates a probable level of the event.
  36. What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level
  37. Date: October 2022
  38. KernelVersion: 6.1
  39. Contact: Yicong Yang <[email protected]>
  40. Description: (RW) Control the allocated buffer watermark for inbound packets.
  41. The packets will be stored in the buffer first and then transmitted
  42. either when the watermark reached or when timed out.
  43. The available tune data is [0, 1, 2]. Writing a negative value
  44. will return an error, and out of range values will be converted
  45. to 2. The value indicates a probable level of the event.
  46. What: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level
  47. Date: October 2022
  48. KernelVersion: 6.1
  49. Contact: Yicong Yang <[email protected]>
  50. Description: (RW) Control the allocated buffer watermark of outbound packets.
  51. The packets will be stored in the buffer first and then transmitted
  52. either when the watermark reached or when timed out.
  53. The available tune data is [0, 1, 2]. Writing a negative value
  54. will return an error, and out of range values will be converted
  55. to 2. The value indicates a probable level of the event.