diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2015-08-03 13:04:45 -0400 |
---|---|---|
committer | Anna Schumaker <Anna.Schumaker@Netapp.com> | 2015-08-05 16:21:28 -0400 |
commit | 860477d1ff176549f2bf438b61e5c1ec6b1d43e5 (patch) | |
tree | fafc7241fe5404c204e007ad9af7a621d0143d18 /net/sunrpc/xprtrdma/xprt_rdma.h | |
parent | 763f7e4e4b9033ac6a0f13aa37ba43636fc3c0af (diff) | |
download | lwn-860477d1ff176549f2bf438b61e5c1ec6b1d43e5.tar.gz lwn-860477d1ff176549f2bf438b61e5c1ec6b1d43e5.zip |
xprtrdma: Count RDMA_NOMSG type calls
RDMA_NOMSG type calls are less efficient than RDMA_MSG. Count NOMSG
calls so administrators can tell if they happen to be used more than
expected.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Tested-by: Devesh Sharma <devesh.sharma@avagotech.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/xprt_rdma.h')
-rw-r--r-- | net/sunrpc/xprtrdma/xprt_rdma.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sunrpc/xprtrdma/xprt_rdma.h b/net/sunrpc/xprtrdma/xprt_rdma.h index 8422c09043b0..d252457ff21a 100644 --- a/net/sunrpc/xprtrdma/xprt_rdma.h +++ b/net/sunrpc/xprtrdma/xprt_rdma.h @@ -340,6 +340,7 @@ struct rpcrdma_stats { unsigned long hardway_register_count; unsigned long failed_marshal_count; unsigned long bad_reply_count; + unsigned long nomsg_call_count; }; /* |