ntb: ntb perf tool
authorDave Jiang <dave.jiang@intel.com>
Wed, 13 Jan 2016 20:29:48 +0000 (13:29 -0700)
committerJon Mason <jdmason@kudzu.us>
Mon, 18 Jan 2016 03:08:05 +0000 (22:08 -0500)
commit8a7b6a778a8519a879c7b6764a11c0d39eead95f
tree00470c865997dda2394da0c8157a660a4b4d2f18
parent8c874cc140d667f84ae4642bb5b5e0d6396d2ca4
ntb: ntb perf tool

Providing raw performance data via a tool that directly access data from
NTB w/o any software overhead. This allows measurement of the hardware
performance limit. In revision one we are only doing single direction
CPU and DMA writes. Eventually we will provide bi-directional writes.

The measurement using DMA engine for NTB performance measure does
not measure the raw performance of DMA engine over NTB due to software
overhead. But it should provide the peak performance through the Linux DMA
driver.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Tested-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/Kconfig
drivers/ntb/test/Makefile
drivers/ntb/test/ntb_perf.c [new file with mode: 0644]