diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-20 20:01:52 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 06:47:45 -0400 |
commit | 42a8e6e298f39518445785c53a16357267db37ef (patch) | |
tree | 11e02e5579c5eef3cb5226b881f83808f2e862ca /drivers/scsi/bfa/bfad_bsg.h | |
parent | f2ee76017b30c84f128dfbf716950ffc0e4d949a (diff) |
[SCSI] bfa: Add support for IO profiling.
- Made changes to support IO profiling.
- Added support to configure and query IO profiling 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 | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.h b/drivers/scsi/bfa/bfad_bsg.h index b6ff2a30a143..91cb2123dec0 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h | |||
@@ -116,6 +116,9 @@ enum { | |||
116 | IOCMD_DEBUG_START_DTRC, | 116 | IOCMD_DEBUG_START_DTRC, |
117 | IOCMD_DEBUG_STOP_DTRC, | 117 | IOCMD_DEBUG_STOP_DTRC, |
118 | IOCMD_DEBUG_PORTLOG_CTL, | 118 | IOCMD_DEBUG_PORTLOG_CTL, |
119 | IOCMD_FCPIM_PROFILE_ON, | ||
120 | IOCMD_FCPIM_PROFILE_OFF, | ||
121 | IOCMD_ITNIM_GET_IOPROFILE, | ||
119 | }; | 122 | }; |
120 | 123 | ||
121 | struct bfa_bsg_gen_s { | 124 | struct bfa_bsg_gen_s { |
@@ -132,6 +135,21 @@ struct bfa_bsg_portlogctl_s { | |||
132 | int inst_no; | 135 | int inst_no; |
133 | }; | 136 | }; |
134 | 137 | ||
138 | struct bfa_bsg_fcpim_profile_s { | ||
139 | bfa_status_t status; | ||
140 | u16 bfad_num; | ||
141 | u16 rsvd; | ||
142 | }; | ||
143 | |||
144 | struct bfa_bsg_itnim_ioprofile_s { | ||
145 | bfa_status_t status; | ||
146 | u16 bfad_num; | ||
147 | u16 vf_id; | ||
148 | wwn_t lpwwn; | ||
149 | wwn_t rpwwn; | ||
150 | struct bfa_itnim_ioprofile_s ioprofile; | ||
151 | }; | ||
152 | |||
135 | struct bfa_bsg_ioc_name_s { | 153 | struct bfa_bsg_ioc_name_s { |
136 | bfa_status_t status; | 154 | bfa_status_t status; |
137 | u16 bfad_num; | 155 | u16 bfad_num; |