diff options
author | James Smart <jsmart2021@gmail.com> | 2017-04-21 16:05:02 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-04-24 09:25:49 +0200 |
commit | aeb3c8170bf7f177ab4825b751a1773594636ebf (patch) | |
tree | 0f092e5a4f8408b1f8b47cf809b3809e988520ba /drivers/scsi/lpfc/lpfc.h | |
parent | 4d4c4a4ac756e7a0198259a49eeaf0d4a0e9a4fb (diff) | |
download | op-kernel-dev-aeb3c8170bf7f177ab4825b751a1773594636ebf.zip op-kernel-dev-aeb3c8170bf7f177ab4825b751a1773594636ebf.tar.gz |
Add Fabric assigned WWN support.
Adding support for Fabric assigned WWPN and WWNN.
Firmware sends first FLOGI to fabric with vendor version changes.
On link up driver gets updated service parameter with FAWWN assigned port
name. Driver sends 2nd FLOGI with updated fawwpn and modifies the
vport->fc_portname in driver.
Note:
Soft wwpn will not be allowed when fawwpn is enabled.
Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com>
Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r-- | drivers/scsi/lpfc/lpfc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h index 0fc1450..6d7840b 100644 --- a/drivers/scsi/lpfc/lpfc.h +++ b/drivers/scsi/lpfc/lpfc.h @@ -474,6 +474,8 @@ struct lpfc_vport { unsigned long rcv_buffer_time_stamp; uint32_t vport_flag; #define STATIC_VPORT 1 +#define FAWWPN_SET 2 +#define FAWWPN_PARAM_CHG 4 uint16_t fdmi_num_disc; uint32_t fdmi_hba_mask; |