162306a36Sopenharmony_ciWhat: /sys/kernel/debug/qat_<device>_<BDF>/qat/fw_counters 262306a36Sopenharmony_ciDate: November 2023 362306a36Sopenharmony_ciKernelVersion: 6.6 462306a36Sopenharmony_ciContact: qat-linux@intel.com 562306a36Sopenharmony_ciDescription: (RO) Read returns the number of requests sent to the FW and the number of responses 662306a36Sopenharmony_ci received from the FW for each Acceleration Engine 762306a36Sopenharmony_ci Reported firmware counters:: 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci <N>: Number of requests sent from Acceleration Engine N to FW and responses 1062306a36Sopenharmony_ci Acceleration Engine N received from FW 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciWhat: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/config 1362306a36Sopenharmony_ciDate: November 2023 1462306a36Sopenharmony_ciKernelVersion: 6.6 1562306a36Sopenharmony_ciContact: qat-linux@intel.com 1662306a36Sopenharmony_ciDescription: (RW) Read returns value of the Heartbeat update period. 1762306a36Sopenharmony_ci Write to the file changes this period value. 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci This period should reflect planned polling interval of device 2062306a36Sopenharmony_ci health status. High frequency Heartbeat monitoring wastes CPU cycles 2162306a36Sopenharmony_ci but minimizes the customer’s system downtime. Also, if there are 2262306a36Sopenharmony_ci large service requests that take some time to complete, high frequency 2362306a36Sopenharmony_ci Heartbeat monitoring could result in false reports of unresponsiveness 2462306a36Sopenharmony_ci and in those cases, period needs to be increased. 2562306a36Sopenharmony_ci 2662306a36Sopenharmony_ci This parameter is effective only for c3xxx, c62x, dh895xcc devices. 2762306a36Sopenharmony_ci 4xxx has this value internally fixed to 200ms. 2862306a36Sopenharmony_ci 2962306a36Sopenharmony_ci Default value is set to 500. Minimal allowed value is 200. 3062306a36Sopenharmony_ci All values are expressed in milliseconds. 3162306a36Sopenharmony_ci 3262306a36Sopenharmony_ciWhat: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_failed 3362306a36Sopenharmony_ciDate: November 2023 3462306a36Sopenharmony_ciKernelVersion: 6.6 3562306a36Sopenharmony_ciContact: qat-linux@intel.com 3662306a36Sopenharmony_ciDescription: (RO) Read returns the number of times the device became unresponsive. 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci Attribute returns value of the counter which is incremented when 3962306a36Sopenharmony_ci status query results negative. 4062306a36Sopenharmony_ci 4162306a36Sopenharmony_ciWhat: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/queries_sent 4262306a36Sopenharmony_ciDate: November 2023 4362306a36Sopenharmony_ciKernelVersion: 6.6 4462306a36Sopenharmony_ciContact: qat-linux@intel.com 4562306a36Sopenharmony_ciDescription: (RO) Read returns the number of times the control process checked 4662306a36Sopenharmony_ci if the device is responsive. 4762306a36Sopenharmony_ci 4862306a36Sopenharmony_ci Attribute returns value of the counter which is incremented on 4962306a36Sopenharmony_ci every status query. 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ciWhat: /sys/kernel/debug/qat_<device>_<BDF>/heartbeat/status 5262306a36Sopenharmony_ciDate: November 2023 5362306a36Sopenharmony_ciKernelVersion: 6.6 5462306a36Sopenharmony_ciContact: qat-linux@intel.com 5562306a36Sopenharmony_ciDescription: (RO) Read returns the device health status. 5662306a36Sopenharmony_ci 5762306a36Sopenharmony_ci Returns 0 when device is healthy or -1 when is unresponsive 5862306a36Sopenharmony_ci or the query failed to send. 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ci The driver does not monitor for Heartbeat. It is left for a user 6162306a36Sopenharmony_ci to poll the status periodically. 62