linux/drivers/ntb/test
Gary R Hook 8407dd6c16 ntb: Add more debugfs support for ntb_perf testing options
The ntb_perf tool uses module parameters to control the
characteristics of its test.  Enable the changing of these
options through debugfs, and eliminating the need to unload
and reload the module to make changes and run additional tests.

Add a new module parameter that forces the DMA channel
selection onto the same node as the NTB device (default: true).

 - seg_order: Size of the NTB memory window; power of 2.
 - run_order: Size of the data buffer; power of 2.
 - use_dma:   Use DMA or memcpy? Default: 0.
 - on_node:   Only use DMA channel(s) on the NTB node. Default: true.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
2017-07-06 11:30:08 -04:00
..
Kconfig ntb: ntb perf tool 2016-01-17 22:08:05 -05:00
Makefile ntb: ntb perf tool 2016-01-17 22:08:05 -05:00
ntb_perf.c ntb: Add more debugfs support for ntb_perf testing options 2017-07-06 11:30:08 -04:00
ntb_pingpong.c NTB: Alter Scratchpads API to support multi-ports devices 2017-07-06 11:30:07 -04:00
ntb_tool.c NTB: Alter Scratchpads API to support multi-ports devices 2017-07-06 11:30:07 -04:00