summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/qat/qat_c3xxx
diff options
context:
space:
mode:
authorShashank Gupta <shashank.gupta@intel.com>2023-03-06 11:09:23 -0500
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-17 11:09:19 +0800
commit118dbccc1a35b50bf41296846809487e914b65a1 (patch)
treec92724ede3995f70d2ef3b146da7ac7008762324 /drivers/crypto/qat/qat_c3xxx
parenta3e8c919b9930e31b705ec7b2f898a59e213a393 (diff)
downloadlinux-stable-118dbccc1a35b50bf41296846809487e914b65a1.tar.gz
linux-stable-118dbccc1a35b50bf41296846809487e914b65a1.tar.bz2
linux-stable-118dbccc1a35b50bf41296846809487e914b65a1.zip
crypto: qat - fix apply custom thread-service mapping for dc service
The thread to arbiter mapping for 4xxx devices does not allow to achieve optimal performance for the compression service as it makes all the engines to compete for the same resources. Update the logic so that a custom optimal mapping is used for the compression service. Signed-off-by: Shashank Gupta <shashank.gupta@intel.com> Reviewed-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/qat/qat_c3xxx')
-rw-r--r--drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c b/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c
index c55c51a07677..475643654e64 100644
--- a/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c
+++ b/drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c
@@ -75,7 +75,7 @@ static enum dev_sku_info get_sku(struct adf_hw_device_data *self)
return DEV_SKU_UNKNOWN;
}
-static const u32 *adf_get_arbiter_mapping(void)
+static const u32 *adf_get_arbiter_mapping(struct adf_accel_dev *accel_dev)
{
return thrd_to_arb_map;
}