diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2010-03-04 04:42:39 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-04 13:39:37 +0300 |
commit | 5c1fb1d55672a74d1c318f67cdddbb599df9a76c (patch) | |
tree | 0f861cc0e81e201131c2997ae0c4d72b9c1c4247 /drivers/scsi/bfa/include/bfi/bfi_lps.h | |
parent | 4c147dd81966bd4ba7f026476237ba67ea72d5d9 (diff) | |
download | linux-5c1fb1d55672a74d1c318f67cdddbb599df9a76c.tar.xz |
[SCSI] bfa: Defined a new LPS event to clear virtual link on a vport
Clear virtual links was not propagated upwards to bfa from fw.
This resulted in HBA and switch being in an inconsistent state.
So defined a new LPS event for clear virtual link on a vport,
and also now clear virtual link on a baseport, is sent as a
link down event from the fw.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/bfa/include/bfi/bfi_lps.h')
-rw-r--r-- | drivers/scsi/bfa/include/bfi/bfi_lps.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/include/bfi/bfi_lps.h b/drivers/scsi/bfa/include/bfi/bfi_lps.h index c59d47badb4b..7ed31bbb8696 100644 --- a/drivers/scsi/bfa/include/bfi/bfi_lps.h +++ b/drivers/scsi/bfa/include/bfi/bfi_lps.h @@ -30,6 +30,7 @@ enum bfi_lps_h2i_msgs { enum bfi_lps_i2h_msgs { BFI_LPS_H2I_LOGIN_RSP = BFA_I2HM(1), BFI_LPS_H2I_LOGOUT_RSP = BFA_I2HM(2), + BFI_LPS_H2I_CVL_EVENT = BFA_I2HM(3), }; struct bfi_lps_login_req_s { @@ -77,6 +78,12 @@ struct bfi_lps_logout_rsp_s { u8 rsvd[2]; }; +struct bfi_lps_cvl_event_s { + struct bfi_mhdr_s mh; /* common msg header */ + u8 lp_tag; + u8 rsvd[3]; +}; + union bfi_lps_h2i_msg_u { struct bfi_mhdr_s *msg; struct bfi_lps_login_req_s *login_req; @@ -87,6 +94,7 @@ union bfi_lps_i2h_msg_u { struct bfi_msg_s *msg; struct bfi_lps_login_rsp_s *login_rsp; struct bfi_lps_logout_rsp_s *logout_rsp; + struct bfi_lps_cvl_event_s *cvl_event; }; #pragma pack() |