NTB: Use unique DMA channels for TX and RX
authorDave Jiang <dave.jiang@intel.com>
Mon, 13 Jul 2015 12:07:22 +0000 (08:07 -0400)
committerJon Mason <jdmason@kudzu.us>
Mon, 7 Sep 2015 19:17:09 +0000 (15:17 -0400)
commit569410ca756cd3ebb15609cb6828a8393fb6384d
tree9ee095c4996e32b1dcd633914ea2415f6d4f7fc1
parent905921e74864e80228e7f8cfe75315cd0a8cada8
NTB: Use unique DMA channels for TX and RX

Allocate two DMA channels, one for TX operation and one for RX
operation, instead of having one DMA channel for everything. This
provides slightly better performance, and also will make error handling
cleaner later on.

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