]> 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)
commit2a54aa7938d4c584acbe2c5a5daf608896748013
treeb162c9510698f9a293424232aaa958b4b8353088
parent2992649562e14653460aa7de2eb8bf16bbdd2841
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