diff options
author | Krishna Gudipati <kgudipat@brocade.com> | 2011-06-24 23:25:36 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-06-29 18:21:23 -0400 |
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 { | |||
62 | IOCMD_FAA_ENABLE, | 62 | IOCMD_FAA_ENABLE, |
63 | IOCMD_FAA_DISABLE, | 63 | IOCMD_FAA_DISABLE, |
64 | IOCMD_FAA_QUERY, | 64 | IOCMD_FAA_QUERY, |
65 | IOCMD_CEE_GET_ATTR, | ||
66 | IOCMD_CEE_GET_STATS, | ||
67 | IOCMD_CEE_RESET_STATS, | ||
65 | }; | 68 | }; |
66 | 69 | ||
67 | struct bfa_bsg_gen_s { | 70 | struct bfa_bsg_gen_s { |
@@ -299,6 +302,24 @@ struct bfa_bsg_faa_attr_s { | |||
299 | struct bfa_faa_attr_s faa_attr; | 302 | struct bfa_faa_attr_s faa_attr; |
300 | }; | 303 | }; |
301 | 304 | ||
305 | struct bfa_bsg_cee_attr_s { | ||
306 | bfa_status_t status; | ||
307 | u16 bfad_num; | ||
308 | u16 rsvd; | ||
309 | u32 buf_size; | ||
310 | u32 rsvd1; | ||
311 | u64 buf_ptr; | ||
312 | }; | ||
313 | |||
314 | struct bfa_bsg_cee_stats_s { | ||
315 | bfa_status_t status; | ||
316 | u16 bfad_num; | ||
317 | u16 rsvd; | ||
318 | u32 buf_size; | ||
319 | u32 rsvd1; | ||
320 | u64 buf_ptr; | ||
321 | }; | ||
322 | |||
302 | struct bfa_bsg_fcpt_s { | 323 | struct bfa_bsg_fcpt_s { |
303 | bfa_status_t status; | 324 | bfa_status_t status; |
304 | u16 vf_id; | 325 | u16 vf_id; |