diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2020-04-28 17:49:05 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-05-08 07:30:40 +0200 |
commit | 8d90822643ad8405eeb2ceafb20afd6952c24606 (patch) | |
tree | 2df25c582075049363c2f9cf5f38e67089a5b635 /block/t10-pi.c | |
parent | crypto: engine - support for parallel requests based on retry mechanism (diff) | |
download | linux-8d90822643ad8405eeb2ceafb20afd6952c24606.tar.xz linux-8d90822643ad8405eeb2ceafb20afd6952c24606.zip |
crypto: engine - support for batch requests
Added support for batch requests, per crypto engine.
A new callback is added, do_batch_requests, which executes a
batch of requests. This has the crypto_engine structure as argument
(for cases when more than one crypto-engine is used).
The crypto_engine_alloc_init_and_set function, initializes
crypto-engine, but also, sets the do_batch_requests callback.
On crypto_pump_requests, if do_batch_requests callback is
implemented in a driver, this will be executed. The link between
the requests will be done in driver, if possible.
do_batch_requests is available only if the hardware has support
for multiple request.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'block/t10-pi.c')
0 files changed, 0 insertions, 0 deletions