android_kernel_xiaomi_sdm845/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 [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06:00
bfa_core.c [SCSI] bfa: enable new hardware 2010-07-27 12:04:03 -05:00
bfa_csdebug.c [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06:00
bfa_fcpim_priv.h [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfa_fcpim.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_fcport.c [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -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 [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
bfa_fcs.c [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
bfa_fcxp_priv.h
bfa_fcxp.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
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_priv.h [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06:00
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_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_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_iocfc_q.c
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_ioim.c [SCSI] bfa: sg addr big endian fix 2010-04-11 09:24:23 -05:00
bfa_itnim.c [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
bfa_log_module.c
bfa_log.c [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06:00
bfa_lps_priv.h
bfa_lps.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
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_priv.h [SCSI] bfa: statistics and typo fix 2010-07-27 12:04:07 -05:00
bfa_port.c [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_priv.h
bfa_rport.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
bfa_sgpg_priv.h
bfa_sgpg.c [SCSI] bfa: enable basic PBC support 2010-07-27 12:04:04 -05:00
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 [SCSI] bfa: Replace bfa_assert() with bfa_sm_fault() 2010-03-07 12:54:18 +05:30
bfa_uf_priv.h
bfa_uf.c [SCSI] bfa: enable basic PBC support 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_compat.h [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_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
bfad.c [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
fab.c
fabric.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
fcbuild.c [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06:00
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_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 [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_fcptm.h
fcs_fcxp.h
fcs_lport.h [SCSI] bfa: Resume BFA operations after firmware mismatch is resolved. 2010-03-04 16:17:02 +05:30
fcs_ms.h
fcs_port.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_rport.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_trcmod.h
fcs_uf.h [SCSI] bfa: New interface to handle firmware upgrade scenario 2010-03-04 16:14:10 +05:30
fcs_vport.h [SCSI] bfa: PBC vport create 2010-07-27 12:04:04 -05:00
fcs.h [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06: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 [SCSI] bfa: IOC changes: Support faster recovery and split bfa_ioc.c into ASIC specific code. 2010-03-07 12:49:48 +05:30
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 [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06: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
rport.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
scn.c [SCSI] bfa: use standards defined timeout for ELS/CT 2010-07-27 12:04:08 -05:00
vfapi.c [SCSI] bfa: fixed checkpatch errors for bfad files 2009-12-04 12:00:09 -06:00
vport.c [SCSI] bfa: vport state machine fix 2010-07-27 12:04:05 -05:00