[openib-general] SRP device management client (and a few opensm glitches)
Roland Dreier
rolandd at cisco.com
Mon Nov 14 23:49:16 PST 2005
OK here's a new version of the srp DM tool. Changes:
- actually includes all files needed to compile
- less verbose by default (new '-v' flag to get original output)
- new '-c' flag to print the exact thing to echo to the 'add-target'
file to connect to each target.
for example:
# ./ibsrpdm
IO Unit Info:
port LID: 0003
port GID: fe800000000000000002c902004000e6
change ID: 0002
max controllers: 0x10
controller[ 1]
GUID: 0002c902004000e4
vendor ID: 0002c9
device ID: 005a44
ID: LSI Storage Systems SRP Driver
service entries: 1
service[ 0]: e400400002c90200 / SRP.T10:0002c902004000e4
# ./ibsrpdm -c
id_ext=0002c902004000e4,ioc_guid=0002c902004000e4,dgid=fe800000000000000002c902004000e6,pkey=ffff,service_id=e400400002c90200
with the last output, I can just do:
echo id_ext=0002c902004000e4,ioc_guid=0002c902004000e4,dgid=fe800000000000000002c902004000e6,pkey=ffff,service_id=e400400002c90200 >> /sys/class/infiniband_srp/srp-mthca0-1/add_target
to get to that target.
- R.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: srptools-0.0.2.tar.gz
Type: application/x-compressed-tar
Size: 97614 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20051114/4abcff07/attachment.bin>
More information about the general
mailing list