diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 23:22:28 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 17:56:05 -0400 |
commit | 1a4d8e1bd81c018f7b8c7622066d5cfead59b38a (patch) | |
tree | 52ec78c60131cf3d861929e1f90d84e8acd0a429 /drivers/scsi/bfa/bfa_defs_svc.h | |
parent | ea9582d721a0d711fb046a25f5e94dcbbc5be410 (diff) |
[SCSI] bfa: Enable ASIC block configuration and query.
- Added ASIC block configuration APIs:
- to create/delete/update the physical functions
- to do adapter/port mode configuration
- to query the current ASIC block configuration.
Signed-off-by: Krishna Gudipati <kgudipat@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfa_defs_svc.h')
-rw-r--r-- | drivers/scsi/bfa/bfa_defs_svc.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfa_defs_svc.h b/drivers/scsi/bfa/bfa_defs_svc.h index e1aae51bb974..0ee3f954dc85 100644 --- a/drivers/scsi/bfa/bfa_defs_svc.h +++ b/drivers/scsi/bfa/bfa_defs_svc.h | |||
@@ -265,8 +265,8 @@ struct bfa_fw_fcoe_stats_s { | |||
265 | * IOC firmware FCoE port stats | 265 | * IOC firmware FCoE port stats |
266 | */ | 266 | */ |
267 | struct bfa_fw_fcoe_port_stats_s { | 267 | struct bfa_fw_fcoe_port_stats_s { |
268 | struct bfa_fw_fcoe_stats_s fcoe_stats; | 268 | struct bfa_fw_fcoe_stats_s fcoe_stats; |
269 | struct bfa_fw_fip_stats_s fip_stats; | 269 | struct bfa_fw_fip_stats_s fip_stats; |
270 | }; | 270 | }; |
271 | 271 | ||
272 | /* | 272 | /* |
@@ -1083,4 +1083,10 @@ union bfa_port_stats_u { | |||
1083 | struct bfa_port_eth_stats_s eth; | 1083 | struct bfa_port_eth_stats_s eth; |
1084 | }; | 1084 | }; |
1085 | 1085 | ||
1086 | struct bfa_port_cfg_mode_s { | ||
1087 | u16 max_pf; | ||
1088 | u16 max_vf; | ||
1089 | enum bfa_mode_s mode; | ||
1090 | }; | ||
1091 | |||
1086 | #endif /* __BFA_DEFS_SVC_H__ */ | 1092 | #endif /* __BFA_DEFS_SVC_H__ */ |