WSL2-Linux-Kernel/net/sunrpc/xprtrdma
Chuck Lever 99722fe4d5 svcrdma: Persistently allocate and DMA-map Send buffers
While sending each RPC Reply, svc_rdma_sendto allocates and DMA-
maps a separate buffer where the RPC/RDMA transport header is
constructed. The buffer is unmapped and released in the Send
completion handler. This is significant per-RPC overhead,
especially for small RPCs.

Instead, allocate and DMA-map a buffer, and cache it in each
svc_rdma_send_ctxt. This buffer and its mapping can be re-used
for each RPC, saving the cost of memory allocation and DMA
mapping.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
2018-05-11 15:48:57 -04:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
backchannel.c svcrdma: Trace key RDMA API events 2018-05-11 15:48:57 -04:00
fmr_ops.c svcrdma: Trace key RDMA API events 2018-05-11 15:48:57 -04:00
frwr_ops.c svcrdma: Trace key RDMA API events 2018-05-11 15:48:57 -04:00
module.c xprtrdma: Prepare RPC/RDMA includes for server-side trace points 2018-05-11 15:48:57 -04:00
rpc_rdma.c svcrdma: Trace key RDMA API events 2018-05-11 15:48:57 -04:00
svc_rdma.c xprtrdma: Prepare RPC/RDMA includes for server-side trace points 2018-05-11 15:48:57 -04:00
svc_rdma_backchannel.c svcrdma: Persistently allocate and DMA-map Send buffers 2018-05-11 15:48:57 -04:00
svc_rdma_recvfrom.c svcrdma: Persistently allocate and DMA-map Send buffers 2018-05-11 15:48:57 -04:00
svc_rdma_rw.c svcrdma: Persistently allocate and DMA-map Receive buffers 2018-05-11 15:48:57 -04:00
svc_rdma_sendto.c svcrdma: Persistently allocate and DMA-map Send buffers 2018-05-11 15:48:57 -04:00
svc_rdma_transport.c svcrdma: Don't overrun the SGE array in svc_rdma_send_ctxt 2018-05-11 15:48:57 -04:00
transport.c svcrdma: Trace key RDMA API events 2018-05-11 15:48:57 -04:00
verbs.c xprtrdma: Prepare RPC/RDMA includes for server-side trace points 2018-05-11 15:48:57 -04:00
xprt_rdma.h xprtrdma: Prepare RPC/RDMA includes for server-side trace points 2018-05-11 15:48:57 -04:00