diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-05-13 05:33:29 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-26 18:07:16 -0400 |
commit | f52c98d4079df695ece1b2cd82fb5dc9372badf6 (patch) | |
tree | 0aeb776c1ee439883f2812d7d774911a7d10ed88 /drivers/scsi/bfa | |
parent | 079bcbc35ca9241abf212a795a000b2d6c2038cd (diff) |
[SCSI] bfa: firmware statistics update
Get RDS drop interrupts and REC (Read Exchange Concise) related stats
from firmware.
Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa')
-rw-r--r-- | drivers/scsi/bfa/bfa_defs_svc.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/bfa_defs_svc.h b/drivers/scsi/bfa/bfa_defs_svc.h index 2f20ba5f57b6..638f441ffc38 100644 --- a/drivers/scsi/bfa/bfa_defs_svc.h +++ b/drivers/scsi/bfa/bfa_defs_svc.h | |||
@@ -105,6 +105,9 @@ struct bfa_fw_ioim_stats_s { | |||
105 | * an error condition*/ | 105 | * an error condition*/ |
106 | u32 wait_for_si; /* FW wait for SI */ | 106 | u32 wait_for_si; /* FW wait for SI */ |
107 | u32 rec_rsp_inval; /* REC rsp invalid */ | 107 | u32 rec_rsp_inval; /* REC rsp invalid */ |
108 | u32 rec_rsp_xchg_comp; /* REC rsp xchg complete */ | ||
109 | u32 rec_rsp_rd_si_ownd; /* REC rsp read si owned */ | ||
110 | |||
108 | u32 seqr_io_abort; /* target does not know cmd so abort */ | 111 | u32 seqr_io_abort; /* target does not know cmd so abort */ |
109 | u32 seqr_io_retry; /* SEQR failed so retry IO */ | 112 | u32 seqr_io_retry; /* SEQR failed so retry IO */ |
110 | 113 | ||
@@ -483,6 +486,14 @@ struct bfa_fw_ct_mod_stats_s { | |||
483 | }; | 486 | }; |
484 | 487 | ||
485 | /* | 488 | /* |
489 | * RDS mod stats | ||
490 | */ | ||
491 | struct bfa_fw_rds_stats_s { | ||
492 | u32 no_fid_drop_err; /* RDS no fid drop error */ | ||
493 | u32 rsvd; /* 64bit align */ | ||
494 | }; | ||
495 | |||
496 | /* | ||
486 | * IOC firmware stats | 497 | * IOC firmware stats |
487 | */ | 498 | */ |
488 | struct bfa_fw_stats_s { | 499 | struct bfa_fw_stats_s { |
@@ -497,6 +508,7 @@ struct bfa_fw_stats_s { | |||
497 | struct bfa_fw_mac_mod_stats_s macmod_stats; | 508 | struct bfa_fw_mac_mod_stats_s macmod_stats; |
498 | struct bfa_fw_ct_mod_stats_s ctmod_stats; | 509 | struct bfa_fw_ct_mod_stats_s ctmod_stats; |
499 | struct bfa_fw_eth_sndrcv_stats_s ethsndrcv_stats; | 510 | struct bfa_fw_eth_sndrcv_stats_s ethsndrcv_stats; |
511 | struct bfa_fw_rds_stats_s rds_stats; | ||
500 | }; | 512 | }; |
501 | 513 | ||
502 | #define BFA_IOCFC_PATHTOV_MAX 60 | 514 | #define BFA_IOCFC_PATHTOV_MAX 60 |