summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/marvell
diff options
context:
space:
mode:
authorRomain Perier2016-06-21 10:08:40 +0200
committerHerbert Xu2016-06-23 12:29:52 +0200
commit47a1f0b2d1d11350ffecbfebc4105116bf6c133e (patch)
tree8d16e8541886ce6adc1df923f6affd0e5aa7e15f /drivers/crypto/marvell
parentcrypto: marvell - Add support for chaining crypto requests in TDMA mode (diff)
downloadkernel-qcow2-linux-47a1f0b2d1d11350ffecbfebc4105116bf6c133e.tar.gz
kernel-qcow2-linux-47a1f0b2d1d11350ffecbfebc4105116bf6c133e.tar.xz
kernel-qcow2-linux-47a1f0b2d1d11350ffecbfebc4105116bf6c133e.zip
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 <romain.perier@free-electrons.com> Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/marvell')
-rw-r--r--drivers/crypto/marvell/cesa.c2
1 files changed, 1 insertions, 1 deletions
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);