aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nvme/nvme_private.h
diff options
context:
space:
mode:
authorJim Harris <jimharris@FreeBSD.org>2012-10-10 23:35:16 +0000
committerJim Harris <jimharris@FreeBSD.org>2012-10-10 23:35:16 +0000
commit6568ebfcbb8587bd6962e0f52d8ef01efc89c6b2 (patch)
tree62b67a90fd070b1a48c592b6ee5dc97c8be3489d /sys/dev/nvme/nvme_private.h
parent8bed48f25d3df5aa13654651ee5bc4284f10d310 (diff)
downloadsrc-6568ebfcbb8587bd6962e0f52d8ef01efc89c6b2.tar.gz
src-6568ebfcbb8587bd6962e0f52d8ef01efc89c6b2.zip
Count number of times each queue pair's interrupt handler is invoked.
Also add sysctls to query and reset each queue pair's stats, including the new count added here. Sponsored by: Intel
Notes
Notes: svn path=/head/; revision=241434
Diffstat (limited to 'sys/dev/nvme/nvme_private.h')
-rw-r--r--sys/dev/nvme/nvme_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/nvme/nvme_private.h b/sys/dev/nvme/nvme_private.h
index ae7faf92a146..df182f719564 100644
--- a/sys/dev/nvme/nvme_private.h
+++ b/sys/dev/nvme/nvme_private.h
@@ -134,6 +134,7 @@ struct nvme_qpair {
uint32_t cq_head;
int64_t num_cmds;
+ int64_t num_intr_handler_calls;
struct nvme_command *cmd;
struct nvme_completion *cpl;