OpenCloudOS-Kernel/drivers/ntb/test
Logan Gunthorpe bc240eec4b ntb: use correct mw_count function in ntb_tool and ntb_transport
After converting to the new API, both ntb_tool and ntb_transport are
using ntb_mw_count to iterate through ntb_peer_get_addr when they
should be using ntb_peer_mw_count.

This probably isn't an issue with the Intel and AMD drivers but
this will matter for any future driver with asymetric memory window
counts.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Acked-by: Allen Hubbe <Allen.Hubbe@emc.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
Fixes: 443b9a14ec ("NTB: Alter MW API to support multi-ports devices")
2017-07-17 12:56:15 -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 error path/handling to Debug FS entry creation 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: use correct mw_count function in ntb_tool and ntb_transport 2017-07-17 12:56:15 -04:00