summaryrefslogtreecommitdiff
path: root/include/crypto/internal/engine.h
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>2025-07-11 21:29:31 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2025-07-18 20:52:00 +1000
commitc470ffa6f48619e8ea2442206b31b7965f8826a5 (patch)
treec348ea58e0e58334eb4fefdb2621e463d7cc49d5 /include/crypto/internal/engine.h
parent3d4df408ba9bad2b205c7fb8afc1836a6a4ca88a (diff)
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>
Diffstat (limited to 'include/crypto/internal/engine.h')
-rw-r--r--include/crypto/internal/engine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/crypto/internal/engine.h b/include/crypto/internal/engine.h
index b6a4ea2240fc..8da1a13619c9 100644
--- a/include/crypto/internal/engine.h
+++ b/include/crypto/internal/engine.h
@@ -37,8 +37,6 @@ struct device;
* @unprepare_crypt_hardware: there are currently no more requests on the
* queue so the subsystem notifies the driver that it may relax the
* hardware by issuing this call
- * @do_batch_requests: execute a batch of requests. Depends on multiple
- * requests support.
* @kworker: kthread worker struct for request pump
* @pump_requests: work struct for scheduling work to the request pump
* @priv_data: the engine private data
@@ -60,8 +58,6 @@ struct crypto_engine {
int (*prepare_crypt_hardware)(struct crypto_engine *engine);
int (*unprepare_crypt_hardware)(struct crypto_engine *engine);
- int (*do_batch_requests)(struct crypto_engine *engine);
-
struct kthread_worker *kworker;
struct kthread_work pump_requests;