summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_sli.h
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2012-08-03 12:36:03 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-14 14:40:15 +0100
commitaa6fbb757ab6fce4647bafd28f9a49e5b0fa07db (patch)
tree64e1f80c87a1e602c79eccafc30ed1b2d5ae8619 /drivers/scsi/lpfc/lpfc_sli.h
parent2a76a28314993d27668fc7f9d5b6427facce4318 (diff)
downloadlinux-stable-aa6fbb757ab6fce4647bafd28f9a49e5b0fa07db.tar.gz
linux-stable-aa6fbb757ab6fce4647bafd28f9a49e5b0fa07db.tar.bz2
linux-stable-aa6fbb757ab6fce4647bafd28f9a49e5b0fa07db.zip
[SCSI] lpfc 8.3.33: Add Interrupts per second stats via debugfs
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.h')
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.h b/drivers/scsi/lpfc/lpfc_sli.h
index 4b9b44e8e064..2f48d000a3b4 100644
--- a/drivers/scsi/lpfc/lpfc_sli.h
+++ b/drivers/scsi/lpfc/lpfc_sli.h
@@ -255,6 +255,8 @@ struct lpfc_sli_stat {
uint64_t mbox_stat_err; /* Mbox cmds completed status error */
uint64_t mbox_cmd; /* Mailbox commands issued */
uint64_t sli_intr; /* Count of Host Attention interrupts */
+ uint64_t sli_prev_intr; /* Previous cnt of Host Attention interrupts */
+ uint64_t sli_ips; /* Host Attention interrupts per sec */
uint32_t err_attn_event; /* Error Attn event counters */
uint32_t link_event; /* Link event counters */
uint32_t mbox_event; /* Mailbox event counters */