diff options
author | Dan Williams <[email protected]> | 2009-09-08 12:02:15 -0700 |
---|---|---|
committer | Dan Williams <[email protected]> | 2009-09-08 17:38:54 -0700 |
commit | 4b652f0db3be891c7b76b109c3b55003b920fc96 (patch) | |
tree | a7747543a2076a2f58f423297e0da78b2963a04d /lib/cpu-notifier-error-inject.c | |
parent | a309218acee8606f7e235da20cc826eb06d9b0f6 (diff) |
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 <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions