Re: [PATCH] crypto: sa2ul: change unsafe data size limit to 255 bytes

From: Herbert Xu
Date: Fri May 19 2023 - 04:50:06 EST


On Fri, May 12, 2023 at 04:10:44PM +0530, Jayesh Choudhary wrote:
> From: Tero Kristo <t-kristo@xxxxxx>
>
> 256 bytes is quite often used in performance benchmarks and this size
> appears to be also working just fine, so mark it as safe so that we do
> not fallback to software implementation for this packet size. Otherwise
> there is a strange bump up in crypto performance at 256 byte packet size.
>
> Signed-off-by: Tero Kristo <t-kristo@xxxxxx>
> Signed-off-by: Jayesh Choudhary <j-choudhary@xxxxxx>
> ---
> drivers/crypto/sa2ul.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt