diff options
author | James Smart <James.Smart@Emulex.Com> | 2007-10-27 13:37:17 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-11 19:22:31 -0500 |
commit | 7ee5d43e2ea25336a7638715420c75583bd2ed69 (patch) | |
tree | 2687f4508fa05465b231a61e606b1063c944d107 /drivers/scsi/lpfc/lpfc.h | |
parent | 57127f157298ea2dacbbc878a3c5d2a5daca772c (diff) |
[SCSI] lpfc 8.2.3 : NPIV bug fixes
NPIV bug fixes:
- Remove vport params on physical hba when npiv is disabled
- Implement new DA_ID CT command to remove vport information from
the switch after delete. Some switches didn't clean this up unless
the physical link dropped.
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index c1343fb2fcf4..ff6b7d33ccab 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h | |||
@@ -272,10 +272,16 @@ struct lpfc_vport { | |||
272 | #define FC_ABORT_DISCOVERY 0x8000 /* we want to abort discovery */ | 272 | #define FC_ABORT_DISCOVERY 0x8000 /* we want to abort discovery */ |
273 | #define FC_NDISC_ACTIVE 0x10000 /* NPort discovery active */ | 273 | #define FC_NDISC_ACTIVE 0x10000 /* NPort discovery active */ |
274 | #define FC_BYPASSED_MODE 0x20000 /* NPort is in bypassed mode */ | 274 | #define FC_BYPASSED_MODE 0x20000 /* NPort is in bypassed mode */ |
275 | #define FC_RFF_NOT_SUPPORTED 0x40000 /* RFF_ID was rejected by switch */ | ||
276 | #define FC_VPORT_NEEDS_REG_VPI 0x80000 /* Needs to have its vpi registered */ | 275 | #define FC_VPORT_NEEDS_REG_VPI 0x80000 /* Needs to have its vpi registered */ |
277 | #define FC_RSCN_DEFERRED 0x100000 /* A deferred RSCN being processed */ | 276 | #define FC_RSCN_DEFERRED 0x100000 /* A deferred RSCN being processed */ |
278 | 277 | ||
278 | uint32_t ct_flags; | ||
279 | #define FC_CT_RFF_ID 0x1 /* RFF_ID accepted by switch */ | ||
280 | #define FC_CT_RNN_ID 0x2 /* RNN_ID accepted by switch */ | ||
281 | #define FC_CT_RSNN_NN 0x4 /* RSNN_NN accepted by switch */ | ||
282 | #define FC_CT_RSPN_ID 0x8 /* RSPN_ID accepted by switch */ | ||
283 | #define FC_CT_RFT_ID 0x10 /* RFT_ID accepted by switch */ | ||
284 | |||
279 | struct list_head fc_nodes; | 285 | struct list_head fc_nodes; |
280 | 286 | ||
281 | /* Keep counters for the number of entries in each list. */ | 287 | /* Keep counters for the number of entries in each list. */ |
@@ -344,6 +350,7 @@ struct lpfc_vport { | |||
344 | uint32_t cfg_discovery_threads; | 350 | uint32_t cfg_discovery_threads; |
345 | uint32_t cfg_log_verbose; | 351 | uint32_t cfg_log_verbose; |
346 | uint32_t cfg_max_luns; | 352 | uint32_t cfg_max_luns; |
353 | uint32_t cfg_enable_da_id; | ||
347 | 354 | ||
348 | uint32_t dev_loss_tmo_changed; | 355 | uint32_t dev_loss_tmo_changed; |
349 | 356 | ||