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 Remaining rdma_rw API changes are here: http://git.linux-nfs.org/?p=cel/cel-2.6.git;a=log;h=refs/heads/nfsd-rdma-rw-api Changes since v1: * Fixed bugzilla.linux-nfs 307 * Cleaned up struct svc_rdma_chunk_ctxt --- Chuck Lever (19): 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 svcrdma: Remove svc_rdma_chunk_ctxt::cc_dir field sunrpc: Disable splice for krb5i drivers/infiniband/core/rw.c | 2 include/linux/sunrpc/svc.h | 3 include/linux/sunrpc/svc_rdma.h | 46 -- net/sunrpc/auth_gss/svcauth_gss.c | 2 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 | 448 ++++++++++++++++++ net/sunrpc/xprtrdma/svc_rdma_sendto.c | 15 - net/sunrpc/xprtrdma/svc_rdma_transport.c | 250 +--------- 11 files changed, 769 insertions(+), 911 deletions(-) delete mode 100644 net/sunrpc/xprtrdma/svc_rdma_marshal.c -- Chuck Lever -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html