diff options
author | Antoine Ténart <antoine.tenart@free-electrons.com> | 2017-06-15 10:56:28 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-06-20 06:21:47 +0300 |
commit | e826934e359efa75bade6e3603432e31d5794281 (patch) | |
tree | 0338b2b0aed3283cbc05ad7d97b381d3f8296e43 /drivers/crypto/inside-secure | |
parent | 5eb0cc66f3a3cad46c2e432342f2a3c20c992b94 (diff) | |
download | linux-e826934e359efa75bade6e3603432e31d5794281.tar.xz |
crypto: inside-secure - increase the batch size
Increase the batch size to the maximum number of requests a ring can
handle at a time (its size). This is possible now that the request
queues are per hw ring. This improves performances.
Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure')
-rw-r--r-- | drivers/crypto/inside-secure/safexcel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.h b/drivers/crypto/inside-secure/safexcel.h index abe0f59d1473..304c5838c11a 100644 --- a/drivers/crypto/inside-secure/safexcel.h +++ b/drivers/crypto/inside-secure/safexcel.h @@ -23,7 +23,7 @@ #define EIP197_MAX_TOKENS 5 #define EIP197_MAX_RINGS 4 #define EIP197_FETCH_COUNT 1 -#define EIP197_MAX_BATCH_SZ 8 +#define EIP197_MAX_BATCH_SZ EIP197_DEFAULT_RING_SIZE #define EIP197_GFP_FLAGS(base) ((base).flags & CRYPTO_TFM_REQ_MAY_SLEEP ? \ GFP_KERNEL : GFP_ATOMIC) |