kernel_optimize_test/net/sunrpc/xprtrdma
Chuck Lever 647e18e3bd svcrdma: Clean up RPC-over-RDMA Call header decoder
Replace C structure-based XDR decoding with pointer arithmetic.
Pointer arithmetic is considered more portable.

Rename the "decode" functions. Nothing is decoded here, they
perform only transport header sanity checking. Use existing XDR
naming conventions to help readability.

Straight-line the hot path:
 - relocate the dprintk call sites out of line
 - remove unnecessary byte-swapping
 - reduce count of conditional branches

Deprecate RDMA_MSGP. It's not properly spec'd by RFC5666, and
therefore never used by any V1 client.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2017-02-08 14:41:57 -05:00
..
backchannel.c xprtrdma: Cap size of callback buffer resources 2016-11-29 16:45:44 -05:00
fmr_ops.c xprtrdma: Basic support for Remote Invalidation 2016-09-19 13:08:38 -04:00
frwr_ops.c xprtrdma: Update documenting comment 2016-11-29 16:45:44 -05:00
Makefile xprtrdma: Remove ALLPHYSICAL memory registration mode 2016-07-11 15:50:43 -04:00
module.c
rpc_rdma.c xprtrdma: Relocate connection helper functions 2016-11-29 16:45:44 -05:00
svc_rdma_backchannel.c svcrdma: Remove unused variables in xprt_rdma_bc_allocate() 2016-11-30 17:31:14 -05:00
svc_rdma_marshal.c svcrdma: Clean up RPC-over-RDMA Call header decoder 2017-02-08 14:41:57 -05:00
svc_rdma_recvfrom.c svcrdma: avoid duplicate dma unmapping during error recovery 2017-01-12 16:14:47 -05:00
svc_rdma_sendto.c svcrdma: Clean up RPC-over-RDMA Reply header encoder 2017-02-08 14:41:41 -05:00
svc_rdma_transport.c svcrdma: Clean up RPC-over-RDMA Reply header encoder 2017-02-08 14:41:41 -05:00
svc_rdma.c
transport.c xprtrdma: Relocate connection helper functions 2016-11-29 16:45:44 -05:00
verbs.c xprtrdma: Shorten QP access error message 2016-11-29 16:45:44 -05:00
xprt_rdma.h xprtrdma: Relocate connection helper functions 2016-11-29 16:45:44 -05:00