Linux PCI Non-Transparent Bridge framework and drivers
 help / color / mirror / Atom feed
* [PATCH 1/2] NTB: ntb_test: modprobe on remote host
@ 2016-12-28  0:12 Allen Hubbe
  2016-12-28  0:12 ` [PATCH 2/2] NTB: ntb_test: add parameter for doorbell bitmask Allen Hubbe
  2016-12-28  0:16 ` [PATCH 1/2] NTB: ntb_test: modprobe on remote host Logan Gunthorpe
  0 siblings, 2 replies; 6+ messages in thread
From: Allen Hubbe @ 2016-12-28  0:12 UTC (permalink / raw)
  To: linux-ntb; +Cc: Jon Mason, Logan Gunthorpe, Allen Hubbe

Signed-off-by: Allen Hubbe <Allen.Hubbe@dell.com>
---
 tools/testing/selftests/ntb/ntb_test.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/testing/selftests/ntb/ntb_test.sh b/tools/testing/selftests/ntb/ntb_test.sh
index a676d3eefefb..4e70e19255bc 100755
--- a/tools/testing/selftests/ntb/ntb_test.sh
+++ b/tools/testing/selftests/ntb/ntb_test.sh
@@ -85,6 +85,10 @@ set -e
 function _modprobe()
 {
         modprobe "$@"
+
+	if [[ "$REMOTE_HOST" != "" ]]; then
+		ssh "$REMOTE_HOST" modprobe "$@"
+	fi
 }
 
 function split_remote()
-- 
2.9.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-01-10 21:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-28  0:12 [PATCH 1/2] NTB: ntb_test: modprobe on remote host Allen Hubbe
2016-12-28  0:12 ` [PATCH 2/2] NTB: ntb_test: add parameter for doorbell bitmask Allen Hubbe
2016-12-28  0:17   ` Logan Gunthorpe
2017-01-10 21:45     ` Jon Mason
2016-12-28  0:16 ` [PATCH 1/2] NTB: ntb_test: modprobe on remote host Logan Gunthorpe
2017-01-10 21:51   ` Jon Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox