summaryrefslogtreecommitdiff
path: root/net/sunrpc/xprtrdma/svc_rdma_rw.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2017-06-23 17:18:33 -0400
committerJ. Bruce Fields <bfields@redhat.com>2017-07-12 15:54:56 -0400
commitcafc739892f34b9090413179ca259409fc43bfae (patch)
tree8e9b937a90238519f7d41e2fe918bdc159b31196 /net/sunrpc/xprtrdma/svc_rdma_rw.c
parent026d958b38c628a1b4ced534808945365e2747a5 (diff)
svcrdma: Use generic RDMA R/W API in RPC Call path
The current svcrdma recvfrom code path has a lot of detail about registration mode and the type of port (iWARP, IB, etc). Instead, use the RDMA core's generic R/W API. This shares code with other RDMA-enabled ULPs that manages the gory details of buffer registration and the posting of RDMA Read Work Requests. Since the Read list marshaling code is being replaced, I took the opportunity to replace C structure-based XDR encoding code with more portable code that uses pointer arithmetic. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/xprtrdma/svc_rdma_rw.c')
0 files changed, 0 insertions, 0 deletions