crypto: engine - remove request batching support
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Fri, 11 Jul 2025 18:29:31 +0000 (21:29 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 18 Jul 2025 10:52:00 +0000 (20:52 +1000)
commitc470ffa6f48619e8ea2442206b31b7965f8826a5
treec348ea58e0e58334eb4fefdb2621e463d7cc49d5
parent3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a
crypto: engine - remove request batching support

Remove request batching support from crypto_engine, as there are no
drivers using this feature and it doesn't really work that well.

Instead of doing batching based on backlog, a more optimal approach
would be for the user to handle the batching (similar to how IPsec
can hook into GSO to get 64K of data each time or how block encryption
can use unit sizes much greater than 4K).

Suggested-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/s390/crypto/paes_s390.c
arch/s390/crypto/phmac_s390.c
crypto/crypto_engine.c
drivers/crypto/caam/jr.c
drivers/crypto/virtio/virtio_crypto_core.c
include/crypto/engine.h
include/crypto/internal/engine.h