Bring the srpt_inc branch README up to date with online version ( http://www.mellanox.com/pdf/products/software/Gen2_SRPT_README.txt )
diff --git a/README b/README index 1200cb2..2985260 100644 --- a/README +++ b/README @@ -29,13 +29,10 @@ management NOTES: scst driver only work with *vanilla* kernel >= 2.6.16 or SLES 10 & RHEL5 default kernels. If you DO NOT want to patch your kernel, either you compile and run scst driver with *VDISK_ONLY* flag/mode or *STRICT_SERIALIZING* flag in -scsi real disk mode +scsi real disk mode (scst_disk module) a. Checking out latest scst's svn development tree svn co https://scst.svn.sourceforge.net/svnroot/scst/trunk/scst -or -Downloading latest current scst release (0.9.5.2) from -http://sourceforge.net/project/showfiles.php?group_id=110471&package_id=119351&release_id=481008 b. cd scst c. Edit src/Makefile If you want to work with RedHat EL5 or SLES 10 default kernels and/or want to avoid @@ -49,8 +46,8 @@ or 2b. Built and installed Linux "vanilla" kernel tree from kernel.org 3. Download SRP target driver and its installation scripts from openfabrics.org -git clone git://git.openfabrics.org/~vu/srpt.git ~/srpt git clone git://git.openfabrics.org/~vu/srpt_inc ~/srpt_inc +git clone git://git.openfabrics.org/~vu/srpt.git ~/srpt Installation ------------ @@ -61,7 +58,8 @@ A. Instruction to included in and built with OFED-1.1 development tree 3. patch -p1 < ~/srpt_inc/add_srpt_02.patch 4. patch -p1 < ~/srpt_inc/add_srpt_03.patch 5. cp -r ~/srpt drivers/infiniband/ulp/srpt -6. ./configure --with-srp-target-mod <and any other module if required> +6. ./configure --with-core-mod --with-mthca-mod --without-mthca_debug-mod + --with-srp-target-mod <and any other modules/drivers if required> 7. make and make install B. Instruction to be included in and built with OFED-1.2 development tree @@ -71,7 +69,8 @@ B. Instruction to be included in and built with OFED-1.2 development tree 3. patch -p1 < ~/srpt_inc/add_srpt_03.patch 4. patch -p1 < ~/srpt_inc/add_srpt_04.patch 5. cp -r ~/srpt drivers/infiniband/ulp/srpt -6. ./configure --with-srp-target-mod <and any other module if required> +6. ./configure --with-core-mod --with-mthca-mod --without-mthca_debug-mod + --with-srp-target-mod <and any other modules/drivers if required> 7. make and make install C. Instruction to be included in and built with "vanilla" kernel development tree @@ -84,6 +83,7 @@ C. Instruction to be included in and built with "vanilla" kernel development tre How-to run ----------- +A. On srp target machine 1. Please refer to SCST's README for loading scsi_tgt driver and its dev_handlers drivers (scst_disk, scst_vdisk block or file IO mode, nullio, ...) @@ -128,7 +128,7 @@ h. echo "add vdisk2 2" >/proc/scsi_tgt/groups/Default/devices 2. modprobe ib_srpt -On initiator machines you can manualy do the following steps: +B. On initiator machines you can manualy do the following steps: 1. modprobe ib_srp 2. ipsrpdm -c (to discover new SRP target) 3. echo <new target info> > /sys/class/infiniband_srp/srp-mthca0-1/add_target @@ -138,8 +138,11 @@ Example: Assume that you use port 1 of first HCA in the system ie. mthca0 [EMAIL PROTECTED] ~]# ibsrpdm -c -d /dev/infiniband/umad0 -id_ext=0002c90200226cf4,ioc_guid=0002c90200226cf4,dgid=fe800000000000000002c90200226cf5,pkey=ffff,service_id=0002c90200226cf4 [EMAIL PROTECTED] ~]# echo id_ext=0002c90200226cf4,ioc_guid=0002c90200226cf4,dgid=fe800000000000000002c90200226cf5,pkey=ffff,service_id=0002c90200226cf4 > /sys/class/infiniband_srp/srp-mthca0-1/add_target +id_ext=0002c90200226cf4,ioc_guid=0002c90200226cf4, +dgid=fe800000000000000002c90200226cf5,pkey=ffff,service_id=0002c90200226cf4 [EMAIL PROTECTED] ~]# echo id_ext=0002c90200226cf4,ioc_guid=0002c90200226cf4, +dgid=fe800000000000000002c90200226cf5,pkey=ffff,service_id=0002c90200226cf4 > +/sys/class/infiniband_srp/srp-mthca0-1/add_target OR @@ -155,6 +158,7 @@ TO DO ------ + Stress test and stabilize the code + Performance tuning -+ Integrate and test with SCST's admin/management tools for LUNs masking/sharing among -initiator hosts ++ Integrate and test with SCST's admin/management tools for LUNs masking/sharing + among initiator hosts + Handle QP, shared-RQ, and asynchronous events
_______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
