crypto: omap-sham - change queue size from 1 to 10
authorTero Kristo <t-kristo@ti.com>
Wed, 22 Jun 2016 13:23:35 +0000 (16:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Jun 2016 13:24:57 +0000 (21:24 +0800)
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>
drivers/crypto/omap-sham.c

index 887bc32b79938d6bcfd3b564c6c71cf023020fff..8090db0de4668b36edcf30508d0f86f2f09d3a45 100644 (file)
@@ -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;