crypto: qat - extend ae_mask
authorGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Mon, 12 Oct 2020 20:38:47 +0000 (21:38 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Oct 2020 06:35:01 +0000 (17:35 +1100)
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 <giovanni.cabiddu@intel.com>
Reviewed-by: Wojciech Ziemba <wojciech.ziemba@intel.com>
Reviewed-by: Fiona Trahe <fiona.trahe@intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_accel_devices.h

index a3b63df..996d255 100644 (file)
@@ -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;