IB/mad: Report number of times a mad was retried
authorSean Hefty <sean.hefty@intel.com>
Tue, 27 Nov 2007 08:11:04 +0000 (00:11 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:30 +0000 (14:15 -0800)
commit4fc8cd4919428f9b86f0b65e2f3245a1c186737f
tree07bca41da2be7504e6d17745fb86264e59a4958e
parent547af76521b3fd4b9ec5c9a9975a17eadb95e6f6
IB/mad: Report number of times a mad was retried

To allow ULPs to tune timeout values and capture retry statistics,
report the number of times that a mad send operation was retried.

For RMPP mads, report the total number of times that the any portion
(send window) of the send operation was retried.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/mad.c
drivers/infiniband/core/mad_priv.h
drivers/infiniband/core/mad_rmpp.c
include/rdma/ib_mad.h