Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cyrille Pitchen and committed by
Herbert Xu
129f8bb6 fcac8365

+1 -1
+1 -1
drivers/crypto/atmel-aes.c
··· 76 76 77 77 #define ATMEL_AES_QUEUE_LENGTH 50 78 78 79 - #define ATMEL_AES_DMA_THRESHOLD 16 79 + #define ATMEL_AES_DMA_THRESHOLD 256 80 80 81 81 82 82 struct atmel_aes_caps {