[SCSI] lpfc 8.3.8: BugFixes: Discovery relates changes
Discovery relates changes: - Separated VPI_REGISTERED state of physical port into VFI_REGISTERED and VPI_REGISTERED state so that driver can unregister physical port VPI independent of VFI. - Add code to unregister, re-init and re-register physical port VPI when physical port NportID change. - Add code to unregister and re-register VPI of a vport when its Nport ID change. - Add code in FDISC completion path to re-start FLOGI discovery when a FDISC complete with LOGIN_REQUIRED reason code. - Fix a memory leak in lpfc_init_vpi_cmpl - Add code to start a timer for vport to retry FDISC when CVL is received by a vport or physical port. If all Nports receive CVLs, then all timers are cancelled and a logical link level discovery will be started after one second. - Flush ELS commands after killing all delayed ELS commands. Signed-off-by:James Smart <james.smart@emulex.com> Signed-off-by:
James Bottomley <James.Bottomley@suse.de>
Showing
- drivers/scsi/lpfc/lpfc.h 3 additions, 0 deletionsdrivers/scsi/lpfc/lpfc.h
- drivers/scsi/lpfc/lpfc_crtn.h 5 additions, 0 deletionsdrivers/scsi/lpfc/lpfc_crtn.h
- drivers/scsi/lpfc/lpfc_els.c 118 additions, 11 deletionsdrivers/scsi/lpfc/lpfc_els.c
- drivers/scsi/lpfc/lpfc_hbadisc.c 35 additions, 1 deletiondrivers/scsi/lpfc/lpfc_hbadisc.c
- drivers/scsi/lpfc/lpfc_init.c 41 additions, 3 deletionsdrivers/scsi/lpfc/lpfc_init.c
- drivers/scsi/lpfc/lpfc_nportdisc.c 1 addition, 1 deletiondrivers/scsi/lpfc/lpfc_nportdisc.c
- drivers/scsi/lpfc/lpfc_sli.c 61 additions, 1 deletiondrivers/scsi/lpfc/lpfc_sli.c
- drivers/scsi/lpfc/lpfc_vport.c 1 addition, 1 deletiondrivers/scsi/lpfc/lpfc_vport.c
Please register or sign in to comment