]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_perf: Allow limiting the size of the memory windows
authorLogan Gunthorpe <logang@deltatee.com>
Fri, 3 Jun 2016 20:50:31 +0000 (14:50 -0600)
committerJon Mason <jdmason@kudzu.us>
Fri, 5 Aug 2016 14:21:06 +0000 (10:21 -0400)
commitc8e9724f3300e04edf80bc96ecb25b5e7632387b
tree2ed434a025160326c1bfc04b61269ad867b5cc51
parent3a69d537d61fe7b36ec915c2ae12dc61cc146c5d
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>
drivers/ntb/test/ntb_perf.c