]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: omap-sham - set sw fallback to 240 bytes
authorBin Liu <b-liu@ti.com>
Wed, 22 Jun 2016 13:23:37 +0000 (16:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Jun 2016 13:24:58 +0000 (21:24 +0800)
commit63ff3ea28eaf346b349520a660017b06895c3280
treeead9be3534d0d5bfe7f5375178c9d1c90b5b6f8b
parentd310fbe1171647c5235b0298dc5a99840b9dfbb0
crypto: omap-sham - set sw fallback to 240 bytes

Adds software fallback support for small crypto requests. In these cases,
it is undesirable to use DMA, as setting it up itself is rather heavy
operation. Gives about 40% extra performance in ipsec usecase.

Signed-off-by: Bin Liu <b-liu@ti.com>
[t-kristo@ti.com: dropped the extra traces, updated some comments
 on the code]
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/omap-sham.c