This series overhauls the "call receive" side of the RPC-over-RDMA transport to use the new rdma_rw API. A slight performance increase (better throughput and latency) has been seen. Benefits include: o Fewer ib_post_send calls per RPC Call o Code duplicated by other ULPs is replaced with core functions o Position-Zero Read chunks are handled in one function o More thorough transport header sanity checking Available in the "nfsd-rdma-for-4.13" topic branch of this git repo: git://git.linux-nfs.org/projects/cel/cel-2.6.git Or for browsing: http://git.linux-nfs.org/?p=cel/cel-2.6.git;a=log;h=refs/heads/nfsd-rdma-for-4.13 In order to keep the for-4.13 series to about 15 patches, I've updated the "nfsd-rdma-rw-api" topic branch to include a few additional patches. A new rdma_rw API is provided to expose the number of MRs needed for a given payload size so that queue depths can be more accurately calculated. http://git.linux-nfs.org/?p=cel/cel-2.6.git;a=log;h=refs/heads/nfsd-rdma-rw-api --- Chuck Lever (17): ib_core: Enable and expose force_mr module parameter svcrdma: Squelch disconnection messages svcrdma: Avoid Send Queue overflow svcrdma: Remove svc_rdma_marshal.c svcrdma: Improve Read chunk sanity checking svcrdma: Improve Write chunk sanity checking svcrdma: Improve Reply chunk sanity checking svcrdma: Don't account for Receive queue "starvation" sunrpc: Allocate one more page per svc_rqst svcrdma: Add recvfrom helpers to svc_rdma_rw.c svcrdma: Use generic RDMA R/W API in RPC Call path svcrdma: Properly compute .len and .buflen for received RPC Calls svcrdma: Remove unused Read completion handlers svcrdma: Remove frmr cache svcrdma: Clean-up svc_rdma_unmap_dma svcrdma: Clean up after converting svc_rdma_recvfrom to rdma_rw API svcrdma: use offset_in_page() macro drivers/infiniband/core/rw.c | 2 include/linux/sunrpc/svc.h | 3 include/linux/sunrpc/svc_rdma.h | 46 -- net/sunrpc/svc_xprt.c | 8 net/sunrpc/xprtrdma/Makefile | 4 net/sunrpc/xprtrdma/svc_rdma_marshal.c | 168 ------- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 734 ++++++++++++------------------ net/sunrpc/xprtrdma/svc_rdma_rw.c | 433 ++++++++++++++++++ net/sunrpc/xprtrdma/svc_rdma_sendto.c | 15 - net/sunrpc/xprtrdma/svc_rdma_transport.c | 250 +--------- 10 files changed, 760 insertions(+), 903 deletions(-) delete mode 100644 net/sunrpc/xprtrdma/svc_rdma_marshal.c -- Chuck Lever -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html