IB/cm: Add basic performance counters
authorSean Hefty <sean.hefty@intel.com>
Tue, 17 Jul 2007 04:49:35 +0000 (21:49 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:30 +0000 (14:15 -0800)
commit9af57b7a2702f2cdf6ae499612e90b0f84bcb393
tree238a10fd53da36b9bfbcd627b35bded5dc2f7c6f
parent4fc8cd4919428f9b86f0b65e2f3245a1c186737f
IB/cm: Add basic performance counters

Add performance/debug counters to track sent/received messages, retries,
and duplicates.  Counters are tracked per CM message type, per port.

The counters are always enabled, so intrusive state tracking is not done.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/ucm.c