OSDN Git Service

xprtrdma: Refactor Receive accounting
authorChuck Lever <chuck.lever@oracle.com>
Wed, 19 Dec 2018 15:58:24 +0000 (10:58 -0500)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Wed, 2 Jan 2019 17:05:16 +0000 (12:05 -0500)
commit6ceea36890a01aa626ce08487eecc5fb43e749b1
tree01f6b56a343064c01d0be8f312162880b9cee1b3
parentb674c4b4a13dc3d37f1b4a449f3b9515f9a30615
xprtrdma: Refactor Receive accounting

Clean up: Divide the work cleanly:

- rpcrdma_wc_receive is responsible only for RDMA Receives
- rpcrdma_reply_handler is responsible only for RPC Replies
- the posted send and receive counts both belong in rpcrdma_ep

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/trace/events/rpcrdma.h
net/sunrpc/xprtrdma/backchannel.c
net/sunrpc/xprtrdma/rpc_rdma.c
net/sunrpc/xprtrdma/verbs.c
net/sunrpc/xprtrdma/xprt_rdma.h