kernel-ark/drivers/scsi/libfc
Yi Zou 537029f8e9 [SCSI] libfc: Remove FC_FRAME_SG_LEN in fc_fcp_send_data
FC_FRAME_SG_LEN is 4 which is too small when offload is enabled. Actually, the
WARN_ON() in fc_fcp_send_data() should be:

	WARN_ON(skb_shinfo(fp_skb(fp))->nr_frags > MAX_SKB_FRAGS);

But since we will not get anything more than 64K anyway, so there is no need
to do this anyway here. Therefore, I am getting rid of FC_FRAME_SG_LEN here
and the WARN_ON here.

Signed-off-by: Yi Zou <yi.zou@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-08-22 17:52:10 -05:00
..
fc_disc.c libfc: Add runtime debugging with debug_logging module parameter 2009-06-21 11:07:08 -05:00
fc_elsct.c [SCSI] libfc: Fix compilation warnings with allmodconfig 2009-04-27 10:19:31 -05:00
fc_exch.c [SCSI] fcoe, libfc: adds offload EM per eth device with only single xid range per EM 2009-08-22 17:52:09 -05:00
fc_fcp.c [SCSI] libfc: Remove FC_FRAME_SG_LEN in fc_fcp_send_data 2009-08-22 17:52:10 -05:00
fc_frame.c [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00
fc_lport.c [SCSI] fcoe, libfc: adds exchange manager(EM) anchor list per lport and related APIs 2009-08-22 17:52:07 -05:00
fc_rport.c [SCSI] libfc: fix: cancel rport retry timer 2009-08-22 17:52:07 -05:00
Makefile [SCSI] libfc: A modular Fibre Channel library 2008-12-29 11:24:33 -06:00