mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
5eb0cc66f3
commit
e826934e35
@ -23,7 +23,7 @@
|
|||||||
#define EIP197_MAX_TOKENS 5
|
#define EIP197_MAX_TOKENS 5
|
||||||
#define EIP197_MAX_RINGS 4
|
#define EIP197_MAX_RINGS 4
|
||||||
#define EIP197_FETCH_COUNT 1
|
#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 ? \
|
#define EIP197_GFP_FLAGS(base) ((base).flags & CRYPTO_TFM_REQ_MAY_SLEEP ? \
|
||||||
GFP_KERNEL : GFP_ATOMIC)
|
GFP_KERNEL : GFP_ATOMIC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user