]> git.baikalelectronics.ru Git - kernel.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)
commitf7463f5a9b5b8fa48706a6d54191d0a72116849d
tree270a3a15478c1be0f2466d8309848990d9557fac
parentfdb4fb551b76419648ced852824d4a54401026cb
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