NTB: Default to CPU memcpy for performance
authorDave Jiang <dave.jiang@intel.com>
Tue, 19 May 2015 20:52:04 +0000 (16:52 -0400)
committerJon Mason <jdmason@kudzu.us>
Sat, 4 Jul 2015 18:09:24 +0000 (14:09 -0400)
commita41ef053f700618f5f55a1dd658908a71163400b
tree6dbde672b790ffab2d8a784ed7cbab349afc1307
parent06917f753547e6bba8a5d17f79971d1c071a70dd
NTB: Default to CPU memcpy for performance

Disable DMA usage by default, since the CPU provides much better
performance with write combining.  Provide a module parameter to enable
DMA usage when offloading the memcpy is preferred.

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