Thread (17 messages) 17 messages, 3 authors, 2025-07-10

Re: [PATCH v2 00/10] crypto: sun8i-ce - implement request batching

From: Corentin Labbe <clabbe.montjoie@gmail.com>
Date: 2025-06-29 18:37:37
Also in: linux-crypto, linux-sunxi, lkml

Le Thu, Jun 26, 2025 at 12:58:03PM +0300, Ovidiu Panait a écrit :
The Allwinner crypto engine can process multiple requests at a time,
if they are chained together using the task descriptor's 'next' field.
Having multiple requests processed in one go can reduce the number
of interrupts generated and also improve throughput.

When compared to the existing non-batching implementation, the tcrypt
multibuffer benchmark shows an increase in throughput of ~85% for 16 byte
AES blocks (when testing with 8 data streams on the OrangePi Zero2 board).

Patches 1-9 perform refactoring work on the existing do_one_request()
callbacks, to make them more modular and easier to integrate with the
request batching workflow.

Patch 10 implements the actual request batching.

Changes in v2:
   - fixed [-Wformat-truncation=] warning reported by kernel test robot
Hello

Thanks for your patch, I am starting review and test it.

@Herbert, please me give me time for it.

Regards
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help