1
linux/drivers/scsi/libfc
Vasu Dev a104c84457 [SCSI] libfc: fixes unnecessary seq id jump
In some cases seq is incremented twice causing unnecessary
seq jump, for instance fc_exch_recv_seq_resp increments
seq id when fc_sof_is_init is true and that is true for
each incoming xfer ready but then fc_fcp_send_data does
another seq increment to send data for xfer ready.

This patch removes all such seq id jumps, at least it
eliminates few calls to fc_seq_start_next using ex_lock.

Also removes seq id update with incoming frame's seq id
as this is not needed since each end (I or T) just need
to send incremented their own seq id on each TSI from
other end & before sending new sequence within a
exchange.

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-04-11 09:23:41 -05:00
..
fc_disc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fc_elsct.c [SCSI] libfc: fix fc_els_resp_type to correct display of CT responses 2009-12-04 12:01:17 -06:00
fc_exch.c [SCSI] libfc: fixes unnecessary seq id jump 2010-04-11 09:23:41 -05:00
fc_fcp.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fc_frame.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
fc_libfc.c [SCSI] libfc: Formatting cleanups across libfc 2009-12-04 12:01:07 -06:00
fc_libfc.h [SCSI] libfc: Formatting cleanups across libfc 2009-12-04 12:01:07 -06:00
fc_lport.c [SCSI] libfc: send point-to-poin FLOGI LS_ACC to assigned D_DID 2010-04-11 09:23:37 -05:00
fc_npiv.c [SCSI] libfc: recognize incoming FLOGI for point-to-point mode 2010-04-11 09:23:37 -05:00
fc_rport.c [SCSI] libfc: recode incoming PRLI handling 2010-04-11 09:23:33 -05:00
Makefile [SCSI] libfc: add some generic NPIV support routines to libfc 2009-12-04 12:00:56 -06:00