From 7faa68e8cea6e4bad62c4f0cc99405850a35390b Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 18 Oct 2013 08:36:47 +0000 Subject: [PATCH] ib_srpt/README: Simplify the instructions for logging in to an SRP target git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5073 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- srpt/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srpt/README b/srpt/README index 2c9880a88..57a68109c 100644 --- a/srpt/README +++ b/srpt/README @@ -117,14 +117,14 @@ First of all, load the SRP kernel module as follows: modprobe ib_srp -Next, discover the new SRP target by running the ibsrpdm command: +Next, discover the new SRP target by running the srp_daemon command: - ibsrpdm -c + for d in /dev/infiniband/umad*; do srp_daemon -oacd$d; done If you want to let the initiator system log in to all SRP targets available -in the same InfiniBand subnet that is possible as follows: +in the same InfiniBand subnet that is possible as follows (-e = execute): - ibsrpdm -c | while read target_info; do echo "${target_info}" > /sys/class/infiniband_srp/${SRP_HCA_NAME}/add_target; done + for d in /dev/infiniband/umad*; do srp_daemon -oecd$d; done If you want to let the initiator log in to a specific target you can do that e.g. as follows: