Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Vijaya Mohan Guvva and committed by
James Bottomley
f52c98d4 079bcbc3

+12
+12
drivers/scsi/bfa/bfa_defs_svc.h
··· 105 105 * an error condition*/ 106 106 u32 wait_for_si; /* FW wait for SI */ 107 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 111 u32 seqr_io_abort; /* target does not know cmd so abort */ 109 112 u32 seqr_io_retry; /* SEQR failed so retry IO */ 110 113 ··· 486 483 }; 487 484 488 485 /* 486 + * RDS mod stats 487 + */ 488 + struct bfa_fw_rds_stats_s { 489 + u32 no_fid_drop_err; /* RDS no fid drop error */ 490 + u32 rsvd; /* 64bit align */ 491 + }; 492 + 493 + /* 489 494 * IOC firmware stats 490 495 */ 491 496 struct bfa_fw_stats_s { ··· 508 497 struct bfa_fw_mac_mod_stats_s macmod_stats; 509 498 struct bfa_fw_ct_mod_stats_s ctmod_stats; 510 499 struct bfa_fw_eth_sndrcv_stats_s ethsndrcv_stats; 500 + struct bfa_fw_rds_stats_s rds_stats; 511 501 }; 512 502 513 503 #define BFA_IOCFC_PATHTOV_MAX 60