Skip to content

Commit

Permalink
crypto: marvell - Increase the size of the crypto queue
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Romain Perier authored and herbertx committed Jun 23, 2016
1 parent 85030c5 commit 47a1f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/crypto/marvell/cesa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 47a1f0b

Please sign in to comment.