提交 f52c98d4 编写于 作者: V Vijaya Mohan Guvva 提交者: James Bottomley

[SCSI] bfa: firmware statistics update

Get RDS drop interrupts and REC (Read Exchange Concise) related stats
from firmware.
Signed-off-by: NVijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 079bcbc3
...@@ -105,6 +105,9 @@ struct bfa_fw_ioim_stats_s { ...@@ -105,6 +105,9 @@ struct bfa_fw_ioim_stats_s {
* an error condition*/ * an error condition*/
u32 wait_for_si; /* FW wait for SI */ u32 wait_for_si; /* FW wait for SI */
u32 rec_rsp_inval; /* REC rsp invalid */ u32 rec_rsp_inval; /* REC rsp invalid */
u32 rec_rsp_xchg_comp; /* REC rsp xchg complete */
u32 rec_rsp_rd_si_ownd; /* REC rsp read si owned */
u32 seqr_io_abort; /* target does not know cmd so abort */ u32 seqr_io_abort; /* target does not know cmd so abort */
u32 seqr_io_retry; /* SEQR failed so retry IO */ u32 seqr_io_retry; /* SEQR failed so retry IO */
...@@ -482,6 +485,14 @@ struct bfa_fw_ct_mod_stats_s { ...@@ -482,6 +485,14 @@ struct bfa_fw_ct_mod_stats_s {
u32 rsvd; /* 64bit align */ u32 rsvd; /* 64bit align */
}; };
/*
* RDS mod stats
*/
struct bfa_fw_rds_stats_s {
u32 no_fid_drop_err; /* RDS no fid drop error */
u32 rsvd; /* 64bit align */
};
/* /*
* IOC firmware stats * IOC firmware stats
*/ */
...@@ -497,6 +508,7 @@ struct bfa_fw_stats_s { ...@@ -497,6 +508,7 @@ struct bfa_fw_stats_s {
struct bfa_fw_mac_mod_stats_s macmod_stats; struct bfa_fw_mac_mod_stats_s macmod_stats;
struct bfa_fw_ct_mod_stats_s ctmod_stats; struct bfa_fw_ct_mod_stats_s ctmod_stats;
struct bfa_fw_eth_sndrcv_stats_s ethsndrcv_stats; struct bfa_fw_eth_sndrcv_stats_s ethsndrcv_stats;
struct bfa_fw_rds_stats_s rds_stats;
}; };
#define BFA_IOCFC_PATHTOV_MAX 60 #define BFA_IOCFC_PATHTOV_MAX 60
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册