]> git.ipfire.org Git - thirdparty/linux.git/commit
NTB: ntb_test: Add ntb_tool port tests
authorSerge Semin <fancer.lancer@gmail.com>
Wed, 6 Dec 2017 14:31:59 +0000 (17:31 +0300)
committerJon Mason <jdmason@kudzu.us>
Mon, 29 Jan 2018 03:17:24 +0000 (22:17 -0500)
commitdd151d7200ae6c5cfddbec7eb1a55ba8319e12b2
tree270a3a15478c1be0f2466d8309848990d9557fac
parent03aadf9499ba71ebc6059317fc409012c95ddcdb
NTB: ntb_test: Add ntb_tool port tests

Multi-port interface is now available in ntb_tool driver. According
to the new NTB API, there might be more than two devices connected over
NTB. It means each device can have multiple freely enumerated ports.
Each port got index assigned by NTB hardware driver. This test is
performed to determine the local and peer ports as well as their indexes.

Signed-off-by: Serge Semin <fancer.lancer@gmail.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
tools/testing/selftests/ntb/ntb_test.sh