diff options
author | Logan Gunthorpe <logang@deltatee.com> | 2016-06-03 14:50:31 -0600 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2016-08-05 10:21:06 -0400 |
commit | 4aae977721f0367809cdc94584b6945073d9fe10 (patch) | |
tree | 2ed434a025160326c1bfc04b61269ad867b5cc51 /drivers/ntb/test/ntb_tool.c | |
parent | a754a8fcaf383be3c5fcc6c3c08e36d9f3005988 (diff) | |
download | linux-4aae977721f0367809cdc94584b6945073d9fe10.tar.bz2 |
ntb_perf: Allow limiting the size of the memory windows
On my system, dma_alloc_coherent won't produce memory anywhere
near the size of the BAR. So I needed a way to limit this.
It's pretty much copied straight from ntb_transport.
Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Diffstat (limited to 'drivers/ntb/test/ntb_tool.c')
0 files changed, 0 insertions, 0 deletions