]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit916596b79bf452e2a77a630f7b83a3136f591fd6
tree6dbde672b790ffab2d8a784ed7cbab349afc1307
parent9c876b5e39c0abdc1b9df51ec89700850426adb2
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