diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-07-21 00:03:27 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 10:53:40 (GMT) |
commit | c0350bf57445b9e2a4369668127ecc4431472d26 (patch) | |
tree | 0dfa9c2dd2ddde736f6c0e867eb456a6ae1c89ee /drivers/scsi/bfa/bfad_bsg.h | |
parent | 3ec4f2c8bff2568e5a51ba083db2c073321ca2c1 (diff) | |
download | linux-fsl-qoriq-c0350bf57445b9e2a4369668127ecc4431472d26.tar.xz |
[SCSI] bfa: Add support to collect / reset fabric stats.
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 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.h b/drivers/scsi/bfa/bfad_bsg.h index 3c0ce22..1e02652 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h @@ -135,6 +135,8 @@ enum { IOCMD_QOS_GET_VC_ATTR, IOCMD_QOS_GET_STATS, IOCMD_QOS_RESET_STATS, + IOCMD_VF_GET_STATS, + IOCMD_VF_RESET_STATS, }; struct bfa_bsg_gen_s { @@ -686,6 +688,19 @@ struct bfa_bsg_qos_vc_attr_s { struct bfa_qos_vc_attr_s attr; }; +struct bfa_bsg_vf_stats_s { + bfa_status_t status; + u16 bfad_num; + u16 vf_id; + struct bfa_vf_stats_s stats; +}; + +struct bfa_bsg_vf_reset_stats_s { + bfa_status_t status; + u16 bfad_num; + u16 vf_id; +}; + struct bfa_bsg_fcpt_s { bfa_status_t status; u16 vf_id; |