]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7313795877fd1e89e36e2b0548d9dacf9ddb1fc1
tree9265a6308dd746606dbcb0bac330082f97780be9
parent399c95b82d07947a15df2d6c345b2491242d4fe0
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