[SCSI] bfa: Add support for FC Arbitrated Loop topology.
- Add private loop topology support at 2G/4G/8G speeds with following limitations 1. No support for multiple initiators in the loop 2. No public loop support. If attached to a loop with an FL_Port, device continues to work as a private NL_Port in the loop 3. No auto topology detection. User has to manually set the configured topology to loop if attaching to loop. - When loop topology is configured, enabling FC port features QoS/Trunk/TRL are not allowed and vice versa. Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com> Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

orang tua
56d92aa5cf
melakukan
bc0e2c2a97
@@ -499,6 +499,9 @@ enum bfi_rport_i2h_msgs {
|
||||
BFI_RPORT_I2H_CREATE_RSP = BFA_I2HM(1),
|
||||
BFI_RPORT_I2H_DELETE_RSP = BFA_I2HM(2),
|
||||
BFI_RPORT_I2H_QOS_SCN = BFA_I2HM(3),
|
||||
BFI_RPORT_I2H_LIP_SCN_ONLINE = BFA_I2HM(4),
|
||||
BFI_RPORT_I2H_LIP_SCN_OFFLINE = BFA_I2HM(5),
|
||||
BFI_RPORT_I2H_NO_DEV = BFA_I2HM(6),
|
||||
};
|
||||
|
||||
struct bfi_rport_create_req_s {
|
||||
@@ -551,6 +554,14 @@ struct bfi_rport_qos_scn_s {
|
||||
struct bfa_rport_qos_attr_s new_qos_attr; /* New QoS Attributes */
|
||||
};
|
||||
|
||||
struct bfi_rport_lip_scn_s {
|
||||
struct bfi_mhdr_s mh; /*!< common msg header */
|
||||
u16 bfa_handle; /*!< host rport handle */
|
||||
u8 status; /*!< scn online status */
|
||||
u8 rsvd;
|
||||
struct bfa_fcport_loop_info_s loop_info;
|
||||
};
|
||||
|
||||
union bfi_rport_h2i_msg_u {
|
||||
struct bfi_msg_s *msg;
|
||||
struct bfi_rport_create_req_s *create_req;
|
||||
@@ -563,6 +574,7 @@ union bfi_rport_i2h_msg_u {
|
||||
struct bfi_rport_create_rsp_s *create_rsp;
|
||||
struct bfi_rport_delete_rsp_s *delete_rsp;
|
||||
struct bfi_rport_qos_scn_s *qos_scn_evt;
|
||||
struct bfi_rport_lip_scn_s *lip_scn;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user