svcrdma: Use svc_rdma_refresh_recvs() in wc_receive
authorChuck Lever <chuck.lever@oracle.com>
Thu, 11 Mar 2021 21:15:22 +0000 (16:15 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 17:22:13 +0000 (13:22 -0400)
commit7b748c30cc046056a24c459de415844a856ea54b
tree89d50c014a78b1ccd3ac2e371ce612c5fd51b2ed
parent77f0a2aa5cdde0524eab745f7a117706d3e3014f
svcrdma: Use svc_rdma_refresh_recvs() in wc_receive

Replace svc_rdma_post_recv() with the new batch receive mechanism.
For the moment it is posting just a single Receive WR at a time,
so no change in behavior is expected.

Since svc_rdma_wc_receive() was the last call site for
svc_rdma_post_recv(), it is removed.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c