Re: [PATCH v2] crypto: qat - add fw_counters debugfs file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 30, 2023 at 05:32:07PM +0200, Lucas Segarra Fernandez wrote:
> 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@xxxxxxxxx>
> Signed-off-by: Adam Guerin <adam.guerin@xxxxxxxxx>
> Signed-off-by: Lucas Segarra Fernandez <lucas.segarra.fernandez@xxxxxxxxx>
> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> v1 -> v2:
> - Updated version and date in documentation
> ---
>  Documentation/ABI/testing/debugfs-driver-qat  |  10 +
>  drivers/crypto/intel/qat/qat_common/Makefile  |   1 +
>  .../intel/qat/qat_common/adf_accel_devices.h  |   1 +
>  .../crypto/intel/qat/qat_common/adf_admin.c   |  18 ++
>  .../intel/qat/qat_common/adf_common_drv.h     |   1 +
>  .../crypto/intel/qat/qat_common/adf_dbgfs.c   |   7 +
>  .../intel/qat/qat_common/adf_fw_counters.c    | 264 ++++++++++++++++++
>  .../intel/qat/qat_common/adf_fw_counters.h    |  11 +
>  8 files changed, 313 insertions(+)
>  create mode 100644 Documentation/ABI/testing/debugfs-driver-qat
>  create mode 100644 drivers/crypto/intel/qat/qat_common/adf_fw_counters.c
>  create mode 100644 drivers/crypto/intel/qat/qat_common/adf_fw_counters.h

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux