summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2016-09-15 10:57:49 -0400
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-09-19 13:08:38 -0400
commit1519e9697d684b706a447c9d4b6c74ba5135d2e4 (patch)
tree6771e5de4be192c6bb1e3d34c49050f9f36cc655 /net/sunrpc
parenteeb30613e1ef82236a058b02d645cad812b309ae (diff)
xprtrdma: Rename rpcrdma_receive_wc()
Clean up: When converting xprtrdma to use the new CQ API, I missed a spot. The naming convention elsewhere is: {svc_rdma,rpcrdma}_wc_{operation} Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/xprtrdma/verbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c
index eeaca9c83635..48a2b67c3ea1 100644
--- a/net/sunrpc/xprtrdma/verbs.c
+++ b/net/sunrpc/xprtrdma/verbs.c
@@ -161,13 +161,13 @@ rpcrdma_update_granted_credits(struct rpcrdma_rep *rep)
161} 161}
162 162
163/** 163/**
164 * rpcrdma_receive_wc - Invoked by RDMA provider for each polled Receive WC 164 * rpcrdma_wc_receive - Invoked by RDMA provider for each polled Receive WC
165 * @cq: completion queue (ignored) 165 * @cq: completion queue (ignored)
166 * @wc: completed WR 166 * @wc: completed WR
167 * 167 *
168 */ 168 */
169static void 169static void
170rpcrdma_receive_wc(struct ib_cq *cq, struct ib_wc *wc) 170rpcrdma_wc_receive(struct ib_cq *cq, struct ib_wc *wc)
171{ 171{
172 struct ib_cqe *cqe = wc->wr_cqe; 172 struct ib_cqe *cqe = wc->wr_cqe;
173 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, 173 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep,
@@ -917,7 +917,7 @@ rpcrdma_create_rep(struct rpcrdma_xprt *r_xprt)
917 } 917 }
918 918
919 rep->rr_device = ia->ri_device; 919 rep->rr_device = ia->ri_device;
920 rep->rr_cqe.done = rpcrdma_receive_wc; 920 rep->rr_cqe.done = rpcrdma_wc_receive;
921 rep->rr_rxprt = r_xprt; 921 rep->rr_rxprt = r_xprt;
922 INIT_WORK(&rep->rr_work, rpcrdma_receive_worker); 922 INIT_WORK(&rep->rr_work, rpcrdma_receive_worker);
923 rep->rr_recv_wr.next = NULL; 923 rep->rr_recv_wr.next = NULL;