aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_ct.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_ct.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_ct.c26
1 files changed, 23 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_ct.c b/drivers/scsi/lpfc/lpfc_ct.c
index ae9d6f385a6c..edbebffa26cf 100644
--- a/drivers/scsi/lpfc/lpfc_ct.c
+++ b/drivers/scsi/lpfc/lpfc_ct.c
@@ -607,7 +607,25 @@ lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
607 } else if (CTrsp->CommandResponse.bits.CmdRsp == 607 } else if (CTrsp->CommandResponse.bits.CmdRsp ==
608 be16_to_cpu(SLI_CT_RESPONSE_FS_RJT)) { 608 be16_to_cpu(SLI_CT_RESPONSE_FS_RJT)) {
609 /* NameServer Rsp Error */ 609 /* NameServer Rsp Error */
610 lpfc_printf_log(phba, KERN_INFO, LOG_DISCOVERY, 610 if ((CTrsp->ReasonCode == SLI_CT_UNABLE_TO_PERFORM_REQ)
611 && (CTrsp->Explanation == SLI_CT_NO_FC4_TYPES)) {
612 lpfc_printf_log(phba, KERN_INFO, LOG_DISCOVERY,
613 "%d (%d):0269 No NameServer Entries "
614 "Data: x%x x%x x%x x%x\n",
615 phba->brd_no, vport->vpi,
616 CTrsp->CommandResponse.bits.CmdRsp,
617 (uint32_t) CTrsp->ReasonCode,
618 (uint32_t) CTrsp->Explanation,
619 vport->fc_flag);
620
621 lpfc_debugfs_disc_trc(vport, LPFC_DISC_TRC_CT,
622 "GID_FT no entry cmd:x%x rsn:x%x exp:x%x",
623 (uint32_t)CTrsp->CommandResponse.bits.CmdRsp,
624 (uint32_t) CTrsp->ReasonCode,
625 (uint32_t) CTrsp->Explanation);
626 }
627 else {
628 lpfc_printf_log(phba, KERN_INFO, LOG_DISCOVERY,
611 "%d (%d):0240 NameServer Rsp Error " 629 "%d (%d):0240 NameServer Rsp Error "
612 "Data: x%x x%x x%x x%x\n", 630 "Data: x%x x%x x%x x%x\n",
613 phba->brd_no, vport->vpi, 631 phba->brd_no, vport->vpi,
@@ -616,11 +634,13 @@ lpfc_cmpl_ct_cmd_gid_ft(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
616 (uint32_t) CTrsp->Explanation, 634 (uint32_t) CTrsp->Explanation,
617 vport->fc_flag); 635 vport->fc_flag);
618 636
619 lpfc_debugfs_disc_trc(vport, LPFC_DISC_TRC_CT, 637 lpfc_debugfs_disc_trc(vport, LPFC_DISC_TRC_CT,
620 "GID_FT rsp err1 cmd:x%x rsn:x%x exp:x%x", 638 "GID_FT rsp err1 cmd:x%x rsn:x%x exp:x%x",
621 (uint32_t)CTrsp->CommandResponse.bits.CmdRsp, 639 (uint32_t)CTrsp->CommandResponse.bits.CmdRsp,
622 (uint32_t) CTrsp->ReasonCode, 640 (uint32_t) CTrsp->ReasonCode,
623 (uint32_t) CTrsp->Explanation); 641 (uint32_t) CTrsp->Explanation);
642 }
643
624 644
625 } else { 645 } else {
626 /* NameServer Rsp Error */ 646 /* NameServer Rsp Error */
@@ -696,7 +716,7 @@ lpfc_cmpl_ct_cmd_gff_id(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
696 if ((fbits & FC4_FEATURE_INIT) && 716 if ((fbits & FC4_FEATURE_INIT) &&
697 !(fbits & FC4_FEATURE_TARGET)) { 717 !(fbits & FC4_FEATURE_TARGET)) {
698 lpfc_printf_log(phba, KERN_INFO, LOG_DISCOVERY, 718 lpfc_printf_log(phba, KERN_INFO, LOG_DISCOVERY,
699 "%d (%d):0245 Skip x%x GFF " 719 "%d (%d):0270 Skip x%x GFF "
700 "NameServer Rsp Data: (init) " 720 "NameServer Rsp Data: (init) "
701 "x%x x%x\n", phba->brd_no, 721 "x%x x%x\n", phba->brd_no,
702 vport->vpi, did, fbits, 722 vport->vpi, did, fbits,