NTB: Address out of DMA descriptor issue with NTB
authorDave Jiang <dave.jiang@intel.com>
Fri, 8 Jan 2016 16:51:05 +0000 (09:51 -0700)
committerJon Mason <jdmason@kudzu.us>
Mon, 11 Jan 2016 15:01:27 +0000 (10:01 -0500)
commit8c874cc140d667f84ae4642bb5b5e0d6396d2ca4
treeb162c9510698f9a293424232aaa958b4b8353088
parent703872c2c53b57ac14563e64c2df086ef57690f9
NTB: Address out of DMA descriptor issue with NTB

The transport right now does not handle the case where we run out of DMA
descriptors. We just fail when we do not succeed. Adding code to retry for
a bit attempting to use the DMA engine instead of instantly fail to CPU
copy.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/ntb_transport.c