NTB: Use DMA Engine to Transmit and Receive
authorJon Mason <jon.mason@intel.com>
Tue, 12 Feb 2013 16:52:50 +0000 (09:52 -0700)
committerJon Mason <jon.mason@intel.com>
Thu, 5 Sep 2013 18:04:09 +0000 (11:04 -0700)
commit282a2feeb9bfb1d1dfbad93df206b74eaf80d564
tree9265a6308dd746606dbcb0bac330082f97780be9
parentac477afb0431386575ef453f50fa0052c3f0461b
NTB: Use DMA Engine to Transmit and Receive

Allocate and use a DMA engine channel to transmit and receive data over
NTB.  If none is allocated, fall back to using the CPU to transfer data.

Signed-off-by: Jon Mason <jon.mason@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
drivers/ntb/ntb_hw.c
drivers/ntb/ntb_hw.h
drivers/ntb/ntb_transport.c