dmaengine: ioat setting ioat timeout as module parameter
authorLeonid Ravich <Leonid.Ravich@emc.com>
Wed, 1 Jul 2020 18:48:12 +0000 (21:48 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 31 Jul 2020 14:44:03 +0000 (16:44 +0200)
commit9ef026214f70de1ce50559421d54ad9741d14e52
tree64aea528cb7c35d3f1b7b4d4a01418da4304be12
parent05f479dce24e94c57b1e28ffa12f149fd3b8f31d
dmaengine: ioat setting ioat timeout as module parameter

[ Upstream commit 87730ccbddcb48478b1b88e88b14e73424130764 ]

DMA transaction time to completion is a function of PCI bandwidth,
transaction size and a queue depth.  So hard coded value for timeouts
might be wrong for some scenarios.

Signed-off-by: Leonid Ravich <Leonid.Ravich@emc.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/20200701184816.29138-1-leonid.ravich@dell.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/dma/ioat/dma.c
drivers/dma/ioat/dma.h