diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-21 00:01:52 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 10:47:45 (GMT) |
commit | 42a8e6e298f39518445785c53a16357267db37ef (patch) | |
tree | 11e02e5579c5eef3cb5226b881f83808f2e862ca /drivers/scsi/bfa/bfad_bsg.h | |
parent | f2ee76017b30c84f128dfbf716950ffc0e4d949a (diff) | |
download | linux-fsl-qoriq-42a8e6e298f39518445785c53a16357267db37ef.tar.xz |
[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 b6ff2a3..91cb212 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h @@ -116,6 +116,9 @@ enum { IOCMD_DEBUG_START_DTRC, IOCMD_DEBUG_STOP_DTRC, IOCMD_DEBUG_PORTLOG_CTL, + IOCMD_FCPIM_PROFILE_ON, + IOCMD_FCPIM_PROFILE_OFF, + IOCMD_ITNIM_GET_IOPROFILE, }; struct bfa_bsg_gen_s { @@ -132,6 +135,21 @@ struct bfa_bsg_portlogctl_s { int inst_no; }; +struct bfa_bsg_fcpim_profile_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; +}; + +struct bfa_bsg_itnim_ioprofile_s { + bfa_status_t status; + u16 bfad_num; + u16 vf_id; + wwn_t lpwwn; + wwn_t rpwwn; + struct bfa_itnim_ioprofile_s ioprofile; +}; + struct bfa_bsg_ioc_name_s { bfa_status_t status; u16 bfad_num; |