scsi: lpfc: fcoe: Fix link down issue after 1000+ link bounces
On FCoE adapters, when running link bounce test in a loop, initiator failed to login with switch switch and required driver reload to recover. Switch reached a point where all subsequent FLOGIs would be LS_RJT'd. Further testing showed the condition to be related to not performing FCF discovery between FLOGI's. Fix by monitoring FLOGI failures and once a repeated error is seen repeat FCF discovery. Signed-off-by:Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by:
James Smart <jsmart2021@gmail.com> Reviewed-by:
Hannes Reinecke <hare@suse.com> Signed-off-by:
Martin K. Petersen <martin.petersen@oracle.com>
Showing
- drivers/scsi/lpfc/lpfc_els.c 2 additions, 0 deletionsdrivers/scsi/lpfc/lpfc_els.c
- drivers/scsi/lpfc/lpfc_hbadisc.c 20 additions, 0 deletionsdrivers/scsi/lpfc/lpfc_hbadisc.c
- drivers/scsi/lpfc/lpfc_init.c 1 addition, 1 deletiondrivers/scsi/lpfc/lpfc_init.c
- drivers/scsi/lpfc/lpfc_sli.c 2 additions, 9 deletionsdrivers/scsi/lpfc/lpfc_sli.c
- drivers/scsi/lpfc/lpfc_sli4.h 1 addition, 0 deletionsdrivers/scsi/lpfc/lpfc_sli4.h
Please register or sign in to comment