From: Cyrille Pitchen Date: Thu, 17 Dec 2015 17:13:06 +0000 (+0100) Subject: crypto: atmel-aes - change the DMA threshold X-Git-Tag: v4.5-rc1~129^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=129f8bb6bb882d6af49f83a1369215aeb0ccb95d;p=karo-tx-linux.git crypto: atmel-aes - change the DMA threshold Increase the DMA threshold to 256: PIO accesses offer better performances than the DMA when processing small amounts of data. Signed-off-by: Cyrille Pitchen Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index a34919f6b7d7..ea645b4ee997 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -76,7 +76,7 @@ #define ATMEL_AES_QUEUE_LENGTH 50 -#define ATMEL_AES_DMA_THRESHOLD 16 +#define ATMEL_AES_DMA_THRESHOLD 256 struct atmel_aes_caps {