diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 23:29:07 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 18:28:17 -0400 |
commit | 61e62e21afe469854e04546ea10b7a6f4cfd1142 (patch) | |
tree | d475caae7c70854788f0950d69a7bae1798794a7 /drivers/scsi/bfa/bfa_defs_svc.h | |
parent | 3350d98d6d072fc4ac3622e61dc3dc351ef01dc5 (diff) |
[SCSI] bfa: Driver and BSG enhancements.
- Added a new module parameter max_xfer_size to
set the max_sectors in the scsi_host template.
- Added logic to handle request_irq() failure so
that msix vector resource is de-allocated immediately
when failure happens.
- BSG enhancements to collect vHBA releated info and port log.
- Removed the workaround of incrementing the module refcnt on bsg request.
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 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_defs_svc.h b/drivers/scsi/bfa/bfa_defs_svc.h index 4b6529c7a53..0b97525803f 100644 --- a/drivers/scsi/bfa/bfa_defs_svc.h +++ b/drivers/scsi/bfa/bfa_defs_svc.h | |||
@@ -1043,6 +1043,19 @@ struct bfa_itnim_ioprofile_s { | |||
1043 | }; | 1043 | }; |
1044 | 1044 | ||
1045 | /* | 1045 | /* |
1046 | * vHBA port attribute values. | ||
1047 | */ | ||
1048 | struct bfa_vhba_attr_s { | ||
1049 | wwn_t nwwn; /* node wwn */ | ||
1050 | wwn_t pwwn; /* port wwn */ | ||
1051 | u32 pid; /* port ID */ | ||
1052 | bfa_boolean_t io_profile; /* get it from fcpim mod */ | ||
1053 | bfa_boolean_t plog_enabled; /* portlog is enabled */ | ||
1054 | u16 path_tov; | ||
1055 | u8 rsvd[2]; | ||
1056 | }; | ||
1057 | |||
1058 | /* | ||
1046 | * FC physical port statistics. | 1059 | * FC physical port statistics. |
1047 | */ | 1060 | */ |
1048 | struct bfa_port_fc_stats_s { | 1061 | struct bfa_port_fc_stats_s { |