Commit c2d42edb authored by Allen Hubbe's avatar Allen Hubbe Committed by Jon Mason

NTB: ntb_test: modprobe on remote host

Signed-off-by: default avatarAllen Hubbe <Allen.Hubbe@dell.com>
Acked-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 6f7da290
...@@ -85,6 +85,10 @@ set -e ...@@ -85,6 +85,10 @@ set -e
function _modprobe() function _modprobe()
{ {
modprobe "$@" modprobe "$@"
if [[ "$REMOTE_HOST" != "" ]]; then
ssh "$REMOTE_HOST" modprobe "$@"
fi
} }
function split_remote() function split_remote()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment