|
@@ -2077,16 +2077,19 @@ lpfc_cmpl_els_prli(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
|
|
|
|
|
|
if (irsp->ulpStatus) {
|
|
|
/* Check for retry */
|
|
|
+ ndlp->fc4_prli_sent--;
|
|
|
if (lpfc_els_retry(phba, cmdiocb, rspiocb)) {
|
|
|
/* ELS command is being retried */
|
|
|
- ndlp->fc4_prli_sent--;
|
|
|
goto out;
|
|
|
}
|
|
|
+
|
|
|
/* PRLI failed */
|
|
|
lpfc_printf_vlog(vport, KERN_ERR, LOG_ELS,
|
|
|
- "2754 PRLI failure DID:%06X Status:x%x/x%x\n",
|
|
|
+ "2754 PRLI failure DID:%06X Status:x%x/x%x, "
|
|
|
+ "data: x%x\n",
|
|
|
ndlp->nlp_DID, irsp->ulpStatus,
|
|
|
- irsp->un.ulpWord[4]);
|
|
|
+ irsp->un.ulpWord[4], ndlp->fc4_prli_sent);
|
|
|
+
|
|
|
/* Do not call DSM for lpfc_els_abort'ed ELS cmds */
|
|
|
if (lpfc_error_lost_link(irsp))
|
|
|
goto out;
|