Add support for optional debugfs statistics support for the IAA Compression Accelerator. This is enabled by the kernel config item: CRYPTO_DEV_IAA_CRYPTO_STATS When enabled, the IAA crypto driver will generate statistics which can be accessed at /sys/kernel/debug/iaa-crypto/. See Documentation/driver-api/crypto/iax/iax-crypto.rst for details. Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
19 lines
690 B
Text
19 lines
690 B
Text
config CRYPTO_DEV_IAA_CRYPTO
|
|
tristate "Support for Intel(R) IAA Compression Accelerator"
|
|
depends on CRYPTO_DEFLATE
|
|
depends on INTEL_IDXD
|
|
default n
|
|
help
|
|
This driver supports acceleration for compression and
|
|
decompression with the Intel Analytics Accelerator (IAA)
|
|
hardware using the cryptographic API. If you choose 'M'
|
|
here, the module will be called iaa_crypto.
|
|
|
|
config CRYPTO_DEV_IAA_CRYPTO_STATS
|
|
bool "Enable Intel(R) IAA Compression Accelerator Statistics"
|
|
depends on CRYPTO_DEV_IAA_CRYPTO
|
|
default n
|
|
help
|
|
Enable statistics for the IAA compression accelerator.
|
|
These include per-device and per-workqueue statistics in
|
|
addition to global driver statistics.
|