svcrdma: DMA-sync the receive buffer in svc_rdma_recvfrom()
authorChuck Lever <chuck.lever@oracle.com>
Wed, 30 Dec 2020 19:08:53 +0000 (14:08 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 25 Jan 2021 14:36:28 +0000 (09:36 -0500)
commitdd2d055b278b20920ab454b233ec76038966788a
tree2b69fef534c60831697deed73163d0d50fc8ff00
parent43042b90cae11cc2d9827c91df6d6b5fe498d5ce
svcrdma: DMA-sync the receive buffer in svc_rdma_recvfrom()

The Receive completion handler doesn't look at the contents of the
Receive buffer. The DMA sync isn't terribly expensive but it's one
less thing that needs to be done by the Receive completion handler,
which is single-threaded (per svc_xprt). This helps scalability.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c