diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 20:25:36 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 17:21:23 -0500 |
commit | 148d61039c625f3f7e2d0a6ad1efe17f83153e65 (patch) | |
tree | 00ae7ce1b9096b35ecb37a1bb9de86edef58f0b5 /drivers/scsi/bfa/bfad_bsg.h | |
parent | 601380669baa2ba6427b821a14e5c91afb580dfc (diff) |
[SCSI] bfa: Added support for CEE info and stats query.
- Added CEE sub-module.
- Added support to collect stats/cee module info
using BSG interface.
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 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfad_bsg.h b/drivers/scsi/bfa/bfad_bsg.h index 0abb2d2036a3..5b4599ad8fb9 100644 --- a/drivers/scsi/bfa/bfad_bsg.h +++ b/drivers/scsi/bfa/bfad_bsg.h @@ -62,6 +62,9 @@ enum { IOCMD_FAA_ENABLE, IOCMD_FAA_DISABLE, IOCMD_FAA_QUERY, + IOCMD_CEE_GET_ATTR, + IOCMD_CEE_GET_STATS, + IOCMD_CEE_RESET_STATS, }; struct bfa_bsg_gen_s { @@ -299,6 +302,24 @@ struct bfa_bsg_faa_attr_s { struct bfa_faa_attr_s faa_attr; }; +struct bfa_bsg_cee_attr_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; + u32 buf_size; + u32 rsvd1; + u64 buf_ptr; +}; + +struct bfa_bsg_cee_stats_s { + bfa_status_t status; + u16 bfad_num; + u16 rsvd; + u32 buf_size; + u32 rsvd1; + u64 buf_ptr; +}; + struct bfa_bsg_fcpt_s { bfa_status_t status; u16 vf_id; |