diff options
author | James Smart <james.smart@emulex.com> | 2012-08-14 14:25:21 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 12:59:22 -0400 |
commit | 086a345f9d53dbc57243ee8d7764e255cb6bbd64 (patch) | |
tree | ff25797a465ff22c648709e00abb83c6acb0ddcb /drivers/scsi/lpfc/lpfc_disc.h | |
parent | 0e58076b376824875e7e509b8dd352377a41cbbc (diff) |
[SCSI] lpfc 8.3.34: Add LOGO support after ABTS compliance
Make compliant with FC specs by sending LOGO after ABTS timeouts
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_disc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_disc.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/scsi/lpfc/lpfc_disc.h b/drivers/scsi/lpfc/lpfc_disc.h index 1d84b63fccad..af49fb03dbb8 100644 --- a/drivers/scsi/lpfc/lpfc_disc.h +++ b/drivers/scsi/lpfc/lpfc_disc.h | |||
@@ -145,6 +145,7 @@ struct lpfc_node_rrq { | |||
145 | #define NLP_RCV_PLOGI 0x00080000 /* Rcv'ed PLOGI from remote system */ | 145 | #define NLP_RCV_PLOGI 0x00080000 /* Rcv'ed PLOGI from remote system */ |
146 | #define NLP_LOGO_ACC 0x00100000 /* Process LOGO after ACC completes */ | 146 | #define NLP_LOGO_ACC 0x00100000 /* Process LOGO after ACC completes */ |
147 | #define NLP_TGT_NO_SCSIID 0x00200000 /* good PRLI but no binding for scsid */ | 147 | #define NLP_TGT_NO_SCSIID 0x00200000 /* good PRLI but no binding for scsid */ |
148 | #define NLP_ISSUE_LOGO 0x00400000 /* waiting to issue a LOGO */ | ||
148 | #define NLP_ACC_REGLOGIN 0x01000000 /* Issue Reg Login after successful | 149 | #define NLP_ACC_REGLOGIN 0x01000000 /* Issue Reg Login after successful |
149 | ACC */ | 150 | ACC */ |
150 | #define NLP_NPR_ADISC 0x02000000 /* Issue ADISC when dq'ed from | 151 | #define NLP_NPR_ADISC 0x02000000 /* Issue ADISC when dq'ed from |
@@ -201,10 +202,11 @@ struct lpfc_node_rrq { | |||
201 | #define NLP_STE_ADISC_ISSUE 0x2 /* ADISC was sent to NL_PORT */ | 202 | #define NLP_STE_ADISC_ISSUE 0x2 /* ADISC was sent to NL_PORT */ |
202 | #define NLP_STE_REG_LOGIN_ISSUE 0x3 /* REG_LOGIN was issued for NL_PORT */ | 203 | #define NLP_STE_REG_LOGIN_ISSUE 0x3 /* REG_LOGIN was issued for NL_PORT */ |
203 | #define NLP_STE_PRLI_ISSUE 0x4 /* PRLI was sent to NL_PORT */ | 204 | #define NLP_STE_PRLI_ISSUE 0x4 /* PRLI was sent to NL_PORT */ |
204 | #define NLP_STE_UNMAPPED_NODE 0x5 /* PRLI completed from NL_PORT */ | 205 | #define NLP_STE_LOGO_ISSUE 0x5 /* LOGO was sent to NL_PORT */ |
205 | #define NLP_STE_MAPPED_NODE 0x6 /* Identified as a FCP Target */ | 206 | #define NLP_STE_UNMAPPED_NODE 0x6 /* PRLI completed from NL_PORT */ |
206 | #define NLP_STE_NPR_NODE 0x7 /* NPort disappeared */ | 207 | #define NLP_STE_MAPPED_NODE 0x7 /* Identified as a FCP Target */ |
207 | #define NLP_STE_MAX_STATE 0x8 | 208 | #define NLP_STE_NPR_NODE 0x8 /* NPort disappeared */ |
209 | #define NLP_STE_MAX_STATE 0x9 | ||
208 | #define NLP_STE_FREED_NODE 0xff /* node entry was freed to MEM_NLP */ | 210 | #define NLP_STE_FREED_NODE 0xff /* node entry was freed to MEM_NLP */ |
209 | 211 | ||
210 | /* For UNUSED_NODE state, the node has just been allocated. | 212 | /* For UNUSED_NODE state, the node has just been allocated. |