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 <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Cyrille Pitchen 2015-12-17 18:13:06 +01:00 committed by Herbert Xu
parent fcac83656a
commit 129f8bb6bb

View File

@ -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 {