commit | 35c0e6c375ac7a09d1b099ceea101a2258857afa | [log] [tgz] |
---|---|---|
author | Pascal van Leeuwen <pascalvanl@gmail.com> | Fri Sep 06 16:31:51 2019 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Fri Sep 13 21:17:58 2019 +1000 |
tree | 75781bef985478af494fec9e6e7a6345213a4cc3 | |
parent | 4bdf712c3049ea10e2a01031b364b85bad2cb6d4 [diff] |
crypto: inside-secure - Base CD fetchcount on actual CD FIFO size This patch derives the command descriptor fetch count from the actual FIFO size advertised by the hardware. Fetching command descriptors one at a time is a performance bottleneck for small blocks, especially on hardware with multiple pipes. Even moreso if the HW has few rings. Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>