mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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>
12 lines
275 B
C
12 lines
275 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* Copyright(c) 2023 Intel Corporation */
|
|
#ifndef ADF_CNV_DBG_H
|
|
#define ADF_CNV_DBG_H
|
|
|
|
struct adf_accel_dev;
|
|
|
|
void adf_cnv_dbgfs_add(struct adf_accel_dev *accel_dev);
|
|
void adf_cnv_dbgfs_rm(struct adf_accel_dev *accel_dev);
|
|
|
|
#endif
|