From: Romain Perier Date: Tue, 21 Jun 2016 08:08:40 +0000 (+0200) Subject: crypto: marvell - Increase the size of the crypto queue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=47a1f0b2d1d11350ffecbfebc4105116bf6c133e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git crypto: marvell - Increase the size of the crypto queue Now that crypto requests are chained together at the DMA level, we increase the size of the crypto queue for each engine. The result is that as the backlog list is reached later, it does not stop the crypto stack from sending asychronous requests, so more cryptographic tasks are processed by the engines. Signed-off-by: Romain Perier Acked-by: Boris Brezillon Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/marvell/cesa.c b/drivers/crypto/marvell/cesa.c index 218c497f2ddb..e373cc6557c6 100644 --- a/drivers/crypto/marvell/cesa.c +++ b/drivers/crypto/marvell/cesa.c @@ -32,7 +32,7 @@ #include "cesa.h" /* Limit of the crypto queue before reaching the backlog */ -#define CESA_CRYPTO_DEFAULT_MAX_QLEN 50 +#define CESA_CRYPTO_DEFAULT_MAX_QLEN 128 static int allhwsupport = !IS_ENABLED(CONFIG_CRYPTO_DEV_MV_CESA); module_param_named(allhwsupport, allhwsupport, int, 0444);