|
@@ -161,13 +161,13 @@ rpcrdma_update_granted_credits(struct rpcrdma_rep *rep)
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
- * rpcrdma_receive_wc - Invoked by RDMA provider for each polled Receive WC
|
|
|
|
|
|
+ * rpcrdma_wc_receive - Invoked by RDMA provider for each polled Receive WC
|
|
* @cq: completion queue (ignored)
|
|
* @cq: completion queue (ignored)
|
|
* @wc: completed WR
|
|
* @wc: completed WR
|
|
*
|
|
*
|
|
*/
|
|
*/
|
|
static void
|
|
static void
|
|
-rpcrdma_receive_wc(struct ib_cq *cq, struct ib_wc *wc)
|
|
|
|
|
|
+rpcrdma_wc_receive(struct ib_cq *cq, struct ib_wc *wc)
|
|
{
|
|
{
|
|
struct ib_cqe *cqe = wc->wr_cqe;
|
|
struct ib_cqe *cqe = wc->wr_cqe;
|
|
struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep,
|
|
struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep,
|
|
@@ -917,7 +917,7 @@ rpcrdma_create_rep(struct rpcrdma_xprt *r_xprt)
|
|
}
|
|
}
|
|
|
|
|
|
rep->rr_device = ia->ri_device;
|
|
rep->rr_device = ia->ri_device;
|
|
- rep->rr_cqe.done = rpcrdma_receive_wc;
|
|
|
|
|
|
+ rep->rr_cqe.done = rpcrdma_wc_receive;
|
|
rep->rr_rxprt = r_xprt;
|
|
rep->rr_rxprt = r_xprt;
|
|
INIT_WORK(&rep->rr_work, rpcrdma_receive_worker);
|
|
INIT_WORK(&rep->rr_work, rpcrdma_receive_worker);
|
|
rep->rr_recv_wr.next = NULL;
|
|
rep->rr_recv_wr.next = NULL;
|