diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-20 17:02:50 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 14:51:11 +0400 |
commit | 45191236b179877d259a40e13c5144628d4df37f (patch) | |
tree | 3d1489ec9dbbd30c080bbbfdf12c08fe83a9062e /drivers/scsi/bfa/bfad_bsg.h | |
parent | a46bd300e191d5a1a7367a799a9f5268c5e6aafd (diff) |
[SCSI] bfa: Add support to configure trunking on Brocade adapter ports.
- Added logic to enable / disable trunking on Brocade adapter ports.
- Added logic to query trunking info.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfad_bsg.h')
-rw-r--r-- | drivers/scsi/bfa/bfad_bsg.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.h b/drivers/scsi/bfa/bfad_bsg.h index 95694cee0cd8..22680452ee1b 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h @@ -126,6 +126,9 @@ enum { IOCMD_PREBOOT_QUERY, IOCMD_ETHBOOT_CFG, IOCMD_ETHBOOT_QUERY, + IOCMD_TRUNK_ENABLE, + IOCMD_TRUNK_DISABLE, + IOCMD_TRUNK_GET_ATTR, }; struct bfa_bsg_gen_s { @@ -656,6 +659,13 @@ struct bfa_bsg_ethboot_s { struct bfa_ethboot_cfg_s cfg; }; +struct bfa_bsg_trunk_attr_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; + struct bfa_trunk_attr_s attr; +}; + struct bfa_bsg_fcpt_s { bfa_status_t status; u16 vf_id; |