mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00

Expose FW counters statistics by providing the "fw_counters" file under debugfs. Currently the statistics include the number of requests sent to the FW and the number of responses received from the FW for each Acceleration Engine, for all the QAT product line. This patch is based on earlier work done by Marco Chiappero. Co-developed-by: Adam Guerin <adam.guerin@intel.com> Signed-off-by: Adam Guerin <adam.guerin@intel.com> Signed-off-by: Lucas Segarra Fernandez <lucas.segarra.fernandez@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
10 lines
436 B
Text
10 lines
436 B
Text
What: /sys/kernel/debug/qat_<device>_<BDF>/qat/fw_counters
|
|
Date: November 2023
|
|
KernelVersion: 6.6
|
|
Contact: qat-linux@intel.com
|
|
Description: (RO) Read returns the number of requests sent to the FW and the number of responses
|
|
received from the FW for each Acceleration Engine
|
|
Reported firmware counters::
|
|
|
|
<N>: Number of requests sent from Acceleration Engine N to FW and responses
|
|
Acceleration Engine N received from FW
|