linux/net/sunrpc/xprtrdma
Chuck Lever 7a03aeb66c xprtrdma: Micro-optimize MR DMA-unmapping
Now that rpcrdma_ep is no longer part of rpcrdma_xprt, there are
four or five serial address dereferences needed to get to the
IB device needed for DMA unmapping.

Instead, let's use the same pattern that regbufs use: cache a
pointer to the device in the MR, and use that as the indication
that unmapping is necessary.

This also guarantees that the exact same device is used for DMA
mapping and unmapping, even if the r_xprt's ep has been replaced. I
don't think this can happen today, but future changes might break
this assumption.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-11-11 10:57:39 -05:00
..
backchannel.c xprtrdma: Clean up xprtrdma callback tracepoints 2020-11-11 10:40:38 -05:00
frwr_ops.c xprtrdma: Micro-optimize MR DMA-unmapping 2020-11-11 10:57:39 -05:00
Makefile xprtrdma: Remove support for FMR memory registration 2019-01-02 12:05:17 -05:00
module.c NFS client updates for Linux 4.18 2018-06-12 10:09:03 -07:00
rpc_rdma.c xprtrdma: Display the task ID when reporting MR events 2020-11-11 10:46:54 -05:00
svc_rdma_backchannel.c svcrdma: Record send_ctxt completion ID in trace_svcrdma_post_send() 2020-07-13 17:28:24 -04:00
svc_rdma_recvfrom.c svcrdma: Remove transport reference counting 2020-07-28 10:18:14 -04:00
svc_rdma_rw.c net: sunrpc: delete repeated words 2020-09-25 18:01:26 -04:00
svc_rdma_sendto.c svcrdma: fix bounce buffers for unaligned offsets and multiple pages 2020-10-16 15:15:04 -04:00
svc_rdma_transport.c svcrdma: CM event handler clean up 2020-07-28 10:18:15 -04:00
svc_rdma.c sysctl: pass kernel pointers to ->proc_handler 2020-04-27 02:07:40 -04:00
transport.c xprtrdma: Trace unmap_sync calls 2020-11-11 10:49:12 -05:00
verbs.c xprtrdma: Move rpcrdma_mr_put() 2020-11-11 10:52:18 -05:00
xprt_rdma.h xprtrdma: Micro-optimize MR DMA-unmapping 2020-11-11 10:57:39 -05:00