summaryrefslogtreecommitdiffstats
path: root/crypto/async_tx/Kconfig
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-11-19 17:10:37 -0700
committerDan Williams <dan.j.williams@intel.com>2009-11-19 23:21:03 -0700
commit7b3cc2b1fc2066391e498f3387204908c4eced21 (patch)
tree8a2bc28955710c580201046d04843773cb7d87a1 /crypto/async_tx/Kconfig
parent4499a24dec00e037da7d09caccad45e7594a9c19 (diff)
downloadlinux-stable-7b3cc2b1fc2066391e498f3387204908c4eced21.tar.gz
linux-stable-7b3cc2b1fc2066391e498f3387204908c4eced21.tar.bz2
linux-stable-7b3cc2b1fc2066391e498f3387204908c4eced21.zip
async_tx: build-time toggling of async_{syndrome,xor}_val dma support
ioat3.2 does not support asynchronous error notifications which makes the driver experience latencies when non-zero pq validate results are expected. Provide a mechanism for turning off async_xor_val and async_syndrome_val via Kconfig. This approach is generally useful for any driver that specifies ASYNC_TX_DISABLE_CHANNEL_SWITCH and would like to force the async_tx api to fall back to the synchronous path for certain operations. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/async_tx/Kconfig')
-rw-r--r--crypto/async_tx/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/async_tx/Kconfig b/crypto/async_tx/Kconfig
index e5aeb2b79e6f..e28e276ac611 100644
--- a/crypto/async_tx/Kconfig
+++ b/crypto/async_tx/Kconfig
@@ -23,3 +23,8 @@ config ASYNC_RAID6_RECOV
select ASYNC_CORE
select ASYNC_PQ
+config ASYNC_TX_DISABLE_PQ_VAL_DMA
+ bool
+
+config ASYNC_TX_DISABLE_XOR_VAL_DMA
+ bool