crypto: qat - add cnv_errors debugfs file
The Compress and Verify (CnV) feature check and ensures data integrity in the compression operation. The implementation of CnV keeps a record of the CnV errors that have occurred since the driver was loaded. Expose CnV error stats by providing the "cnv_errors" file under debugfs. This includes the number of errors detected up to now and the type of the last error. The error count is provided on a per Acceleration Engine basis and it is reset every time the driver is loaded. Signed-off-by:Lucas Segarra Fernandez <lucas.segarra.fernandez@intel.com> Reviewed-by:
Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Showing
- Documentation/ABI/testing/debugfs-driver-qat 13 additions, 0 deletionsDocumentation/ABI/testing/debugfs-driver-qat
- drivers/crypto/intel/qat/qat_common/Makefile 1 addition, 0 deletionsdrivers/crypto/intel/qat/qat_common/Makefile
- drivers/crypto/intel/qat/qat_common/adf_accel_devices.h 1 addition, 0 deletionsdrivers/crypto/intel/qat/qat_common/adf_accel_devices.h
- drivers/crypto/intel/qat/qat_common/adf_admin.c 21 additions, 0 deletionsdrivers/crypto/intel/qat/qat_common/adf_admin.c
- drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c 299 additions, 0 deletionsdrivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c
- drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.h 11 additions, 0 deletionsdrivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.h
- drivers/crypto/intel/qat/qat_common/adf_common_drv.h 1 addition, 0 deletionsdrivers/crypto/intel/qat/qat_common/adf_common_drv.h
- drivers/crypto/intel/qat/qat_common/adf_dbgfs.c 3 additions, 0 deletionsdrivers/crypto/intel/qat/qat_common/adf_dbgfs.c
- drivers/crypto/intel/qat/qat_common/icp_qat_fw_init_admin.h 5 additions, 0 deletionsdrivers/crypto/intel/qat/qat_common/icp_qat_fw_init_admin.h
Please register or sign in to comment