Skip to content

Commit 47a1f0b

Browse files
Romain Perierherbertx
authored andcommitted
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 <[email protected]> Acked-by: Boris Brezillon <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 85030c5 commit 47a1f0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/marvell/cesa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "cesa.h"
3333

3434
/* Limit of the crypto queue before reaching the backlog */
35-
#define CESA_CRYPTO_DEFAULT_MAX_QLEN 50
35+
#define CESA_CRYPTO_DEFAULT_MAX_QLEN 128
3636

3737
static int allhwsupport = !IS_ENABLED(CONFIG_CRYPTO_DEV_MV_CESA);
3838
module_param_named(allhwsupport, allhwsupport, int, 0444);

0 commit comments

Comments
 (0)