162306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune 262306a36Sopenharmony_ciDate: October 2022 362306a36Sopenharmony_ciKernelVersion: 6.1 462306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 562306a36Sopenharmony_ciDescription: This directory contains files for tuning the PCIe link 662306a36Sopenharmony_ci parameters(events). Each file is named after the event 762306a36Sopenharmony_ci of the PCIe link. 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci See Documentation/trace/hisi-ptt.rst for more information. 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_cpl 1262306a36Sopenharmony_ciDate: October 2022 1362306a36Sopenharmony_ciKernelVersion: 6.1 1462306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 1562306a36Sopenharmony_ciDescription: (RW) Controls the weight of Tx completion TLPs, which influence 1662306a36Sopenharmony_ci the proportion of outbound completion TLPs on the PCIe link. 1762306a36Sopenharmony_ci The available tune data is [0, 1, 2]. Writing a negative value 1862306a36Sopenharmony_ci will return an error, and out of range values will be converted 1962306a36Sopenharmony_ci to 2. The value indicates a probable level of the event. 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_np 2262306a36Sopenharmony_ciDate: October 2022 2362306a36Sopenharmony_ciKernelVersion: 6.1 2462306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 2562306a36Sopenharmony_ciDescription: (RW) Controls the weight of Tx non-posted TLPs, which influence 2662306a36Sopenharmony_ci the proportion of outbound non-posted TLPs on the PCIe link. 2762306a36Sopenharmony_ci The available tune data is [0, 1, 2]. Writing a negative value 2862306a36Sopenharmony_ci will return an error, and out of range values will be converted 2962306a36Sopenharmony_ci to 2. The value indicates a probable level of the event. 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/qos_tx_p 3262306a36Sopenharmony_ciDate: October 2022 3362306a36Sopenharmony_ciKernelVersion: 6.1 3462306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 3562306a36Sopenharmony_ciDescription: (RW) Controls the weight of Tx posted TLPs, which influence the 3662306a36Sopenharmony_ci proportion of outbound posted TLPs on the PCIe link. 3762306a36Sopenharmony_ci The available tune data is [0, 1, 2]. Writing a negative value 3862306a36Sopenharmony_ci will return an error, and out of range values will be converted 3962306a36Sopenharmony_ci to 2. The value indicates a probable level of the event. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/rx_alloc_buf_level 4262306a36Sopenharmony_ciDate: October 2022 4362306a36Sopenharmony_ciKernelVersion: 6.1 4462306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 4562306a36Sopenharmony_ciDescription: (RW) Control the allocated buffer watermark for inbound packets. 4662306a36Sopenharmony_ci The packets will be stored in the buffer first and then transmitted 4762306a36Sopenharmony_ci either when the watermark reached or when timed out. 4862306a36Sopenharmony_ci The available tune data is [0, 1, 2]. Writing a negative value 4962306a36Sopenharmony_ci will return an error, and out of range values will be converted 5062306a36Sopenharmony_ci to 2. The value indicates a probable level of the event. 5162306a36Sopenharmony_ci 5262306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/tune/tx_alloc_buf_level 5362306a36Sopenharmony_ciDate: October 2022 5462306a36Sopenharmony_ciKernelVersion: 6.1 5562306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 5662306a36Sopenharmony_ciDescription: (RW) Control the allocated buffer watermark of outbound packets. 5762306a36Sopenharmony_ci The packets will be stored in the buffer first and then transmitted 5862306a36Sopenharmony_ci either when the watermark reached or when timed out. 5962306a36Sopenharmony_ci The available tune data is [0, 1, 2]. Writing a negative value 6062306a36Sopenharmony_ci will return an error, and out of range values will be converted 6162306a36Sopenharmony_ci to 2. The value indicates a probable level of the event. 6262306a36Sopenharmony_ci 6362306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters 6462306a36Sopenharmony_ciDate: May 2023 6562306a36Sopenharmony_ciKernelVersion: 6.5 6662306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 6762306a36Sopenharmony_ciDescription: This directory contains the files providing the PCIe Root Port filters 6862306a36Sopenharmony_ci information used for PTT trace. Each file is named after the supported 6962306a36Sopenharmony_ci Root Port device name <domain>:<bus>:<device>.<function>. 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci See the description of the "filter" in Documentation/trace/hisi-ptt.rst 7262306a36Sopenharmony_ci for more information. 7362306a36Sopenharmony_ci 7462306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters/multiselect 7562306a36Sopenharmony_ciDate: May 2023 7662306a36Sopenharmony_ciKernelVersion: 6.5 7762306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 7862306a36Sopenharmony_ciDescription: (Read) Indicates if this kind of filter can be selected at the same 7962306a36Sopenharmony_ci time as others filters, or must be used on it's own. 1 indicates 8062306a36Sopenharmony_ci the former case and 0 indicates the latter. 8162306a36Sopenharmony_ci 8262306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/root_port_filters/<bdf> 8362306a36Sopenharmony_ciDate: May 2023 8462306a36Sopenharmony_ciKernelVersion: 6.5 8562306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 8662306a36Sopenharmony_ciDescription: (Read) Indicates the filter value of this Root Port filter, which 8762306a36Sopenharmony_ci can be used to control the TLP headers to trace by the PTT trace. 8862306a36Sopenharmony_ci 8962306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/requester_filters 9062306a36Sopenharmony_ciDate: May 2023 9162306a36Sopenharmony_ciKernelVersion: 6.5 9262306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 9362306a36Sopenharmony_ciDescription: This directory contains the files providing the PCIe Requester filters 9462306a36Sopenharmony_ci information used for PTT trace. Each file is named after the supported 9562306a36Sopenharmony_ci Endpoint device name <domain>:<bus>:<device>.<function>. 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ci See the description of the "filter" in Documentation/trace/hisi-ptt.rst 9862306a36Sopenharmony_ci for more information. 9962306a36Sopenharmony_ci 10062306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/requester_filters/multiselect 10162306a36Sopenharmony_ciDate: May 2023 10262306a36Sopenharmony_ciKernelVersion: 6.5 10362306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 10462306a36Sopenharmony_ciDescription: (Read) Indicates if this kind of filter can be selected at the same 10562306a36Sopenharmony_ci time as others filters, or must be used on it's own. 1 indicates 10662306a36Sopenharmony_ci the former case and 0 indicates the latter. 10762306a36Sopenharmony_ci 10862306a36Sopenharmony_ciWhat: /sys/devices/hisi_ptt<sicl_id>_<core_id>/requester_filters/<bdf> 10962306a36Sopenharmony_ciDate: May 2023 11062306a36Sopenharmony_ciKernelVersion: 6.5 11162306a36Sopenharmony_ciContact: Yicong Yang <yangyicong@hisilicon.com> 11262306a36Sopenharmony_ciDescription: (Read) Indicates the filter value of this Requester filter, which 11362306a36Sopenharmony_ci can be used to control the TLP headers to trace by the PTT trace. 114