aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiovanni Cabiddu <[email protected]>2020-10-12 21:38:47 +0100
committerHerbert Xu <[email protected]>2020-10-30 17:35:01 +1100
commit3f9ae998355baa35284ed1a4c715b588c21dac08 (patch)
treeb081ffec1528d72c29ab950c2dad80b5eff1e07b
parent657ad678e0c49a6e2f237f875b7a6c2d5065bbc8 (diff)
crypto: qat - extend ae_mask
Change type of ae_mask in adf_hw_device_data to allow for devices with more than 16 Acceleration Engines (AEs). Signed-off-by: Giovanni Cabiddu <[email protected]> Reviewed-by: Wojciech Ziemba <[email protected]> Reviewed-by: Fiona Trahe <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
-rw-r--r--drivers/crypto/qat/qat_common/adf_accel_devices.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_common/adf_accel_devices.h b/drivers/crypto/qat/qat_common/adf_accel_devices.h
index a3b63dfe4d7b..996d25565b11 100644
--- a/drivers/crypto/qat/qat_common/adf_accel_devices.h
+++ b/drivers/crypto/qat/qat_common/adf_accel_devices.h
@@ -181,7 +181,7 @@ struct adf_hw_device_data {
u32 accel_capabilities_mask;
u32 instance_id;
u16 accel_mask;
- u16 ae_mask;
+ u32 ae_mask;
u32 admin_ae_mask;
u16 tx_rings_mask;
u8 tx_rx_gap;