diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 23:02:15 +0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-09 04:38:54 +0400 |
commit | 4b652f0db3be891c7b76b109c3b55003b920fc96 (patch) | |
tree | a7747543a2076a2f58f423297e0da78b2963a04d /drivers/dma/dmaengine.c | |
parent | a309218acee8606f7e235da20cc826eb06d9b0f6 (diff) | |
download | linux-4b652f0db3be891c7b76b109c3b55003b920fc96.tar.xz |
net_dma: poll for a descriptor after allocation failure
Handle descriptor allocation failures by polling for a descriptor. The
driver will force forward progress when polled. In the best case this
polling interval will be the time it takes for one dma memcpy
transaction to complete. In the worst case, channel hang, we will need
to wait 100ms for the cleanup watchdog to fire (ioatdma driver).
Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/dmaengine.c')
0 files changed, 0 insertions, 0 deletions