Commit Graph

13 Commits

Author SHA1 Message Date
Joe Eykholt
8e0e14b5e0 My previous commit failed to include 2 critical patches, plus
had the wrong version of 22-lport-notify.   This corrects that.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2845 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-26 21:40:59 +00:00
Joe Eykholt
649fef691e Changes to make fcst work on Linux 2.6.36.
The biggest difference is that libfc no longer allocates a sequence
and exchange for incoming requests, and that eliminates a parameter
on the receive function.  This was done to help performance and
might help on short reads sometime in the future.

This also fixes an error in ft_send_read_data() that exceeds the
skb's SG list length limit on long reads when the NIC
supports large send offload.

I also made other minor changes like adding debugging.



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2823 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-25 01:16:18 +00:00
Bart Van Assche
8113a4f3dc Removed again because apparently fcst doesn't build yet with the 2.6.36 kernel.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2806 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-23 19:12:49 +00:00
Bart Van Assche
bda6f0043b Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2805 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-23 19:06:14 +00:00
Joe Eykholt
ac5618b07e Adding patches for 2.6.36. These are similar to the 2.6.35 patches
except for line number changes and a few interface changes imposed
by differences in libfc between 2.6.35 and 2.6.36, mostly due to the
change which doesn't allocate an exchange and sequence for incoming
requests.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2804 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-23 17:56:35 +00:00
Joe Eykholt
ff7a986329 Add an fcoe patch for 2.6.35 to not deliver frames to fcst from softirq level.
I believe this was causing a race leading to a WARN in fc_seq_send that
the sequence initiative wasn't held in ft_send_response().  It also caused
a problem for tcm_fc.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2786 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-11-21 22:38:03 +00:00
Joe Eykholt
5d84242673 Add patch series for 2.6.35.
The individual patches are a subset of the earlier ones, with
only line number changes to apply cleanly.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1922 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 18:04:36 +00:00
Bart Van Assche
078841cbf4 Removed again -- doesn't build.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1917 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:38:57 +00:00
Bart Van Assche
7b839ceaf7 Added to repository.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1916 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-08-03 15:33:45 +00:00
Bart Van Assche
d8392af840 Apparently sparse ignores __attribute__((packed)) when applied to an enum
while gcc honors this attribute. The result is that
sizeof(struct fcoe_rcv_info) is 48 when the header include/scsi/fc_frame.h is
compiled with gcc and that sizeof(struct fcoe_rcv_info) > 48 when the same
header is compiled by sparse. As a result, compilation with sparse fails due
to the BUILD_BUG_ON() statement in the function fcoe_dev_from_skb(), even
when checking a vanilla Linux kernel with sparse. The patch below slightly
modifies include/scsi/fc_frame.h such that gcc and sparse interpret this header
in the same way.

Note: it is fine to revert this patch once the behavior of gcc and sparse is
again in sync.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1767 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-13 17:34:40 +00:00
Bart Van Assche
4366b4ee83 Fixed checkpatch complaints about whitespace (removed space before tab twice).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1765 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-12 05:57:49 +00:00
Joe Eykholt
64a5ad5169 Updated README to refer to linux 2.6.34.
The same libfc patches apply, but I copied the series file for 2.6.34.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1758 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-06-10 20:40:45 +00:00
Vladislav Bolkhovitin
6023f1ad34 This patch adds a new target module for SCST and libfc
that accepts FCP requests from libfc HBAs running Fibre Channel
over Ethernet (FCoE) and passes them to SCST.

Signed-off-by: Joe Eykholt <jeykholt@cisco.com>



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1514 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2010-02-20 20:02:02 +00:00