]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a8fe4ad068136889c3f716c138f1a0dbf1b3257
treeb162c9510698f9a293424232aaa958b4b8353088
parentec92051824a08d3a4b5175acbfad936deff77474
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