From: Tero Kristo Date: Wed, 22 Jun 2016 13:23:35 +0000 (+0300) Subject: crypto: omap-sham - change queue size from 1 to 10 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=65e7a549af295cb2034f17e99211b97e9d02cbee;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Herbert Xu --- 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;