Commit Graph

362 Commits

Author SHA1 Message Date
Vladislav Bolkhovitin
f95ed772f8 Merge of the trunk's r3472:
Docs about how to migrate from the deprecated ib_srpt_target_X layout updated



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3473 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-23 19:26:04 +00:00
Vladislav Bolkhovitin
0bfa54bfb8 Merge the trunk's rrs 3438:3445, 3447:3450, 3452:3456 and 3458:3466
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3470 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-05-20 23:02:07 +00:00
Vladislav Bolkhovitin
6084197aa1 Merge of the trunk's r3397:
HCAs GUIDs should be used as target names



git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3398 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-20 22:53:30 +00:00
Bart Van Assche
8072c7b835 svn merge -c3393 https://scst.svn.sourceforge.net/svnroot/scst/trunk
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3394 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-17 18:18:07 +00:00
Vladislav Bolkhovitin
5688fa63f6 Stable 2.1 branch added
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.1.0.x@3390 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-16 16:06:17 +00:00
Bart Van Assche
1f049c1f8c Replaced patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3377 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 14:31:37 +00:00
Bart Van Assche
8af652f456 Added more backports.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 14:22:49 +00:00
Bart Van Assche
f427ce220c Corrected kernel-2.6.29-pre-cflags.patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3374 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 11:53:07 +00:00
Bart Van Assche
522c9bac67 Corrected kernel-2.6.32-pre-cflags.patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3373 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 11:47:08 +00:00
Bart Van Assche
f69a0796b3 Added copies of the pre-cflags patch.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3371 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-10 10:51:09 +00:00
Bart Van Assche
c4ec345017 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-09 12:55:37 +00:00
Bart Van Assche
0b00284465 Documented the ib_srp login string.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3356 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-04 19:03:47 +00:00
Bart Van Assche
0921e9c1da Avoid that the compiler complains about unused variables.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3342 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 17:49:41 +00:00
Bart Van Assche
e45cda7c66 Reverted r3330 because it was committed before having been discussed.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3332 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-02 06:48:53 +00:00
Vladislav Bolkhovitin
13b8766a6a Experimental patch to allow HCAs GUIDs be used as target names
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3331 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-04-01 19:50:12 +00:00
Vladislav Bolkhovitin
4539005d7c Patch from Alexey Obitotskiy <alexeyo1@open-e.com> making get_initiator_port_transport_id() more flexible
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3322 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-29 14:30:01 +00:00
Vladislav Bolkhovitin
f518cd150c Let's remove *.orig and *.rej files on extraclean
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3277 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-03-10 20:07:23 +00:00
Bart Van Assche
074479ba16 ib_srpt: Fix potential out-of-bounds array access
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3262 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-26 09:48:58 +00:00
Bart Van Assche
d00aaf6732 ib_srpt: Handle fatal errors properly in srpt_xmit_response()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3257 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-02-24 17:45:22 +00:00
Bart Van Assche
8d0406a0cb ib_srpt: Reformatted one statement to keep checkpatch happy.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3192 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2011-01-05 13:15:01 +00:00
Bart Van Assche
5fe037e5b9 Updated my e-mail address in copyright statements and README files.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3175 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-21 18:48:14 +00:00
Bart Van Assche
36d3ac3059 ib_srpt: Fixed a bug in the RDMA channel disconnection processing code.
(Merged r3142 from the sysfs-tree-changes branch.)


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3143 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-19 13:29:08 +00:00
Bart Van Assche
cd984c6f82 ib_srpt: Fix a procfs-only compiler warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3017 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-11 09:58:37 +00:00
Bart Van Assche
8e0e19c9de ib_srpt (sysfs): Converted login_info from a device attribute into a tgt attribute.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3003 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-10 09:47:29 +00:00
Bart Van Assche
17cb105213 Made sure that srpt_release() doesn't oops if srpt_add_one() fails after
having registered the target and before the srpt_post_recv() loop started.

Reported-by: Frank Zago <fzago@systemfabricworks.com>.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2963 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-07 16:59:19 +00:00
Bart Van Assche
1fe5da1dea ib_srpt: Source code formatting cleanup.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2951 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-07 09:25:23 +00:00
Bart Van Assche
7e158b0c68 Handle iWARP devices graciously - ib_srpt does not work with at least Intel
iWARP devices.

Reported-by: Frank Zago <fzago@systemfabricworks.com>.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2950 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-07 09:21:16 +00:00
Bart Van Assche
1d520654cb ib_srpt: Pass correct atomic context information to scst_rx_cmd().
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2912 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-12-03 11:29:47 +00:00
Bart Van Assche
900a70d873 ib_srpt: Made instructions in the documentation independent of the scstadmin version.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2717 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-16 19:16:48 +00:00
Bart Van Assche
83a967d3a3 ib_srpt: Made sure that accessing sysfs entries during target creation is harmless.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2703 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-14 09:32:03 +00:00
Bart Van Assche
6297569bce ib_srpt: Builds again on RHEL 5 (enable_proc).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2696 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 22:29:12 +00:00
Bart Van Assche
f14f14a31e ib_srpt: Converted req_lim and req_lim_delta from device-specific attributes into session-specific attributes, which makes a lot more sense.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2692 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 17:28:18 +00:00
Bart Van Assche
7025e1a732 Should have been included in r2686.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2688 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 14:58:11 +00:00
Bart Van Assche
79a4dcc4e5 ib_srpt: Made sure that no credits are lost because of SCSI task abortion.
ib_srpt: Exported req_lim and req_lim_delta values via sysfs because this is convenient for debugging purposes.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2686 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-13 14:38:44 +00:00
Bart Van Assche
8b248b67c1 ib_srpt: Added a comment.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2459 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 18:32:14 +00:00
Bart Van Assche
d07bd65ba1 ib_srpt: Moved a source code comment.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2458 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 11:58:34 +00:00
Bart Van Assche
fa49407967 ib_srpt: Test procedure update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2457 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 09:31:03 +00:00
Bart Van Assche
b9c17588fa ib_srpt: Changed queue full message severity level from ERROR to WARNING since this condition is not fatal.
ib_srpt: Micro-optimization: pass the number of bytes that will be sent to ib_dma_sync_single_for_device() instead of the size of the entire DMA buffer.
ib_srpt: Fixed two bugs in the code for tracking the number of elements available in the IB send queue and that could be triggered by a send queue overflow.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2456 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-24 09:30:40 +00:00
Bart Van Assche
172c211176 ib_srpt: Fixed bug in IB send queue overflow handling.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2455 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-23 14:32:15 +00:00
Bart Van Assche
6786d02fa6 ib_srpt: Documentation update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2443 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 19:34:44 +00:00
Bart Van Assche
8be8b4e66d svn merge -r2380:2441 https://scst.svn.sourceforge.net/svnroot/scst/branches/srpt-separate-rx-tx-buffers .
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2442 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-21 19:21:10 +00:00
Bart Van Assche
a75d3cc2c3 ib_srpt: Documentation update.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2391 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-10 11:33:29 +00:00
Bart Van Assche
bb540fa9f8 ib_srpt: Removed an unused variable.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2379 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-09 07:25:55 +00:00
Bart Van Assche
5606dcc10e Updated test procedure.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2376 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 19:21:00 +00:00
Bart Van Assche
ac5a366941 ib_srpt: Further improved robustness against HCA firmware bugs.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2375 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-08 19:02:35 +00:00
Bart Van Assche
6f6b0a4acd ib_srpt: Updated test instructions.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2348 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-05 16:55:32 +00:00
Bart Van Assche
92b70d4f83 ib_srpt: Report firmware bugs instead of silently ignoring these.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2346 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-04 16:57:03 +00:00
Bart Van Assche
c42c4159ed Fixed a checkpatch complaint.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2343 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-03 07:26:03 +00:00
Bart Van Assche
c130e11f44 ib_srpt: race-at-session-unregistration-fix (partially reverted r2339).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2342 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 17:45:57 +00:00
Bart Van Assche
c935c8e28d ib_srpt: Increased ib_wc array size back from 4 to 16.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2341 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-10-02 16:05:54 +00:00