aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
diff options
context:
space:
mode:
authorMarco Chiappero <marco.chiappero@intel.com>2021-12-16 09:13:15 +0000
committerHerbert Xu <herbert@gondor.apana.org.au>2021-12-24 14:18:24 +1100
commit03125541ca29fda7b98bea08dfed68ae0e39b46c (patch)
tree3dbce1008e058a8358c51ee2c78a717017593f41 /drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
parentcrypto: qat - extend crypto capability detection for 4xxx (diff)
downloadlinux-dev-03125541ca29fda7b98bea08dfed68ae0e39b46c.tar.xz
linux-dev-03125541ca29fda7b98bea08dfed68ae0e39b46c.zip
crypto: qat - support the reset of ring pairs on PF
Add support for triggering a HW reset of a specific ring pair. Being a device specific feature, add it to the hw_device_data struct. This feature is supported only by QAT GEN4 devices. This patch is based on earlier work done by Zelin Deng. Signed-off-by: Marco Chiappero <marco.chiappero@intel.com> Co-developed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Fiona Trahe <fiona.trahe@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h')
-rw-r--r--drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h b/drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
index 924bac6feb37..a0c67752317f 100644
--- a/drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
+++ b/drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
@@ -37,6 +37,7 @@
/* Bank and ring configuration */
#define ADF_4XXX_NUM_RINGS_PER_BANK 2
+#define ADF_4XXX_NUM_BANKS_PER_VF 4
/* Error source registers */
#define ADF_4XXX_ERRSOU0 (0x41A200)