NTB: ntb_tool: Add full multi-port NTB API support
authorSerge Semin <fancer.lancer@gmail.com>
Wed, 6 Dec 2017 14:31:56 +0000 (17:31 +0300)
committerJon Mason <jdmason@kudzu.us>
Mon, 29 Jan 2018 03:17:24 +0000 (22:17 -0500)
commit7f46c8b3a5523a28cb81c2c12bc3dcc76ed52d59
tree97579c0e33f34510cc1e6063ca037433fe6743f9
parentc7aeb0afdcc2d1ec5945e164d3fb97c5ae3edd1a
NTB: ntb_tool: Add full multi-port NTB API support

Former NTB Debugging tool driver supported only the limited
functionality of the recently updated NTB API, which is now available
to work with the truly NTB multi-port devices and devices, which
got NTB Message registers instead of Scratchpads. This patch
fully rewrites the driver so one would fully expose all the new
NTB API interfaces. Particularly it concerns the Message registers,
peer ports API, NTB link settings. Additional cleanups are also added
here.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_tool.c