summaryrefslogtreecommitdiffstats
path: root/drivers/crypto
diff options
context:
space:
mode:
authorCyrille Pitchen <cyrille.pitchen@atmel.com>2015-12-17 18:13:06 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2015-12-23 18:19:58 +0800
commit129f8bb6bb882d6af49f83a1369215aeb0ccb95d (patch)
treefbcee480986ec3640e678a3f2934f9605fb828c2 /drivers/crypto
parentfcac83656a3e3b15e7a16b4a64ee5067eecec446 (diff)
downloadop-kernel-dev-129f8bb6bb882d6af49f83a1369215aeb0ccb95d.zip
op-kernel-dev-129f8bb6bb882d6af49f83a1369215aeb0ccb95d.tar.gz
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/atmel-aes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c
index a34919f..ea645b4 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 {
OpenPOWER on IntegriCloud