android_kernel_oneplus_msm8998/drivers/scsi/bfa
Jing Huang c507341713 [SCSI] bfa: fix rport speed setting
When a rport goes offline, its speed setting was not reset. Subsequently, if
the rport was not deleted due to it coming back online within rport del
timeout, previously discovered speed would continue to show up. The fix is to
reset the speed when processing rport offline transition.

In rport attributes, rport's with unknown speed were indicated as TRL
enforced.  The right thing do to would be to use TRL default speed to
determine if TRL is enforced, when TRL is enabled.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-07-27 12:04:10 -05:00
..
include [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
bfa_callback_priv.h
bfa_cb_ioim_macros.h [SCSI] bfa: fix the issue of not handling scsi_cmnd sg chaining case 2010-04-11 09:24:17 -05:00
bfa_cee.c
bfa_core.c [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfa_csdebug.c
bfa_fcpim.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_fcpim_priv.h [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfa_fcport.c [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfa_fcs.c [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
bfa_fcs_lport.c [SCSI] bfa: Replace bfa_get_attr() with specific APIs 2010-03-07 13:07:00 +05:30
bfa_fcs_port.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_fcs_uf.c
bfa_fcxp.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_fcxp_priv.h
bfa_fwimg_priv.h [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfa_hw_cb.c [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_hw_ct.c [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_intr.c [SCSI] bfa: Fix Command Queue (CPE) full condition check and ack CPE interrupt. 2010-03-07 13:02:14 +05:30
bfa_intr_priv.h
bfa_ioc.c [SCSI] bfa: ioc attributes fix 2010-07-27 12:04:06 -05:00
bfa_ioc.h [SCSI] bfa: ioc attributes fix 2010-07-27 12:04:06 -05:00
bfa_ioc_cb.c [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfa_ioc_ct.c [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfa_iocfc.c [SCSI] bfa: fix interrupt coalescing setting 2010-07-27 12:04:09 -05:00
bfa_iocfc.h [SCSI] bfa: ioc attributes fix 2010-07-27 12:04:06 -05:00
bfa_iocfc_q.c
bfa_ioim.c [SCSI] bfa: sg addr big endian fix 2010-04-11 09:24:23 -05:00
bfa_itnim.c
bfa_log.c
bfa_log_module.c
bfa_lps.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_lps_priv.h
bfa_module.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_modules_priv.h [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_os_inc.h [SCSI] bfa: fix compilation warning in powerpc 2010-05-01 14:12:11 -05:00
bfa_port.c [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfa_port_priv.h [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfa_priv.h [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_rport.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_rport_priv.h
bfa_sgpg.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_sgpg_priv.h
bfa_sm.c
bfa_timer.c
bfa_trcmod_priv.h [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
bfa_tskim.c
bfa_uf.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_uf_priv.h
bfad.c [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
bfad_attr.c [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
bfad_attr.h [SCSI] bfa: Remove unused header files and did some cleanup. 2010-03-07 13:27:51 +05:30
bfad_drv.h [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfad_fwimg.c [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfad_im.c [SCSI] bfa: ioc attributes fix 2010-07-27 12:04:06 -05:00
bfad_im.h [SCSI] bfa: add fc transport class based vport create/delete 2010-04-11 09:24:16 -05:00
bfad_im_compat.h [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfad_intr.c [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfad_ipfc.h
bfad_os.c
bfad_tm.h
bfad_trcmod.h
fab.c
fabric.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
fcbuild.c
fcbuild.h [SCSI] bfa: FCS and include file changes. 2010-03-07 13:12:04 +05:30
fcpim.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
fcptm.c
fcs.h
fcs_auth.h
fcs_fabric.h [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
fcs_fcpim.h
fcs_fcptm.h
fcs_fcxp.h
fcs_lport.h
fcs_ms.h
fcs_port.h
fcs_rport.h
fcs_trcmod.h
fcs_uf.h
fcs_vport.h [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
fdmi.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
loop.c [SCSI] bfa: Rename pport to fcport in BFA FCS. 2010-03-07 13:05:10 +05:30
lport_api.c [SCSI] bfa: fix rport speed setting 2010-07-27 12:04:10 -05:00
lport_priv.h
Makefile
ms.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
n2n.c
ns.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
plog.c
rport.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
rport_api.c [SCSI] bfa: fix rport speed setting 2010-07-27 12:04:10 -05:00
rport_ftrs.c [SCSI] bfa: fix rport speed setting 2010-07-27 12:04:10 -05:00
scn.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
vfapi.c
vport.c [SCSI] bfa: vport state machine fix 2010-07-27 12:04:05 -05:00