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

From: Corentin Labbe
Date: Sun Jun 29 2025 - 14:37:49 EST


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