From: Mike Marciniszyn Date: Sat, 15 Jun 2013 21:07:03 +0000 (-0400) Subject: IB/qib: Convert opcode counters to per-context X-Git-Tag: v3.11-rc1~16^2~1^6~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddb8876589702a9396d15d9d4075e6388d0600cf;p=pandora-kernel.git IB/qib: Convert opcode counters to per-context This fix changes the opcode relative counters for receive to per context. Profiling has shown that when mulitple contexts are being used there is a lot of cache activity associated with these counters. The code formerly kept these counters per port, but only provided the interface to read per HCA. This patch converts the read of counters to per HCA and adds the debugfs hooks to be able to read the file as a sequence of opcodes. Reviewed-by: Dean Luick Signed-off-by: Mike Marciniszyn Signed-off-by: Roland Dreier --- Reading git-diff-tree failed