]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - crypto/tcrypt.c
crypto: tcrypt - allow setting num of bufs
authorGilad Ben-Yossef <gilad@benyossef.com>
Sun, 17 Dec 2017 08:29:02 +0000 (08:29 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 28 Dec 2017 06:56:40 +0000 (17:56 +1100)
commit8fcdc86856b24d3f76b4d70665f2cbbe5102d8de
tree13bc658a5d54c3921d47c08adcb6f5ec45733d2f
parent4431bd49530c7379dffaf0963d69bdab7fbead05
crypto: tcrypt - allow setting num of bufs

For multiple buffers speed tests, the number of buffers, or
requests, used actually sets the level of parallelism a tfm
provider may utilize to hide latency. The existing number
(of 8) is good for some software based providers but not
enough for many HW providers with deep FIFOs.

Add a module parameter that allows setting the number of
multiple buffers/requests used, leaving the default at 8.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c