diff options
author | Tero Kristo <t-kristo@ti.com> | 2016-06-22 16:23:35 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-24 21:24:57 +0800 |
commit | 65e7a549af295cb2034f17e99211b97e9d02cbee (patch) | |
tree | 0a1eeb0c803b2cd3664a6ad0002c9318d371d948 | |
parent | e93f767bec1c4b58ac24bd59143c0030b9555426 (diff) | |
download | linux-65e7a549af295cb2034f17e99211b97e9d02cbee.tar.gz linux-65e7a549af295cb2034f17e99211b97e9d02cbee.tar.bz2 linux-65e7a549af295cb2034f17e99211b97e9d02cbee.zip |
crypto: omap-sham - change queue size from 1 to 10
Change crypto queue size from 1 to 10 for omap SHA driver. This should
allow clients to enqueue requests more effectively to avoid serializing
whole crypto sequences, giving extra performance.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | drivers/crypto/omap-sham.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index 887bc32b7993..8090db0de466 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c @@ -175,7 +175,7 @@ struct omap_sham_ctx { struct omap_sham_hmac_ctx base[0]; }; -#define OMAP_SHAM_QUEUE_LENGTH 1 +#define OMAP_SHAM_QUEUE_LENGTH 10 struct omap_sham_algs_info { struct ahash_alg *algs_list; |