]> git.baikalelectronics.ru Git - kernel.git/commit
IB/qib: Add per-context stats interface
authorMike Marciniszyn <mike.marciniszyn@intel.com>
Sat, 15 Jun 2013 21:07:09 +0000 (17:07 -0400)
committerRoland Dreier <roland@purestorage.com>
Sat, 22 Jun 2013 00:19:51 +0000 (17:19 -0700)
commit1dd123d1e42e6c3da20353b185d2bc48bf2e03c1
tree3c5a13b1820b2bfd34eaac578d0a8c62987c1277
parent9ea017d7a8098545ab9cfe27fcb4273e08d4b047
IB/qib: Add per-context stats interface

This patch adds a debugfs stats interface for per kernel contexts
packet counts.

The code uses the opcode stats count and eliminates the counter in the
context.

Reviewed-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/qib/qib_debugfs.c