]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
svcrdma: Add Write chunk WRs to the RPC's Send WR chain
authorChuck Lever <chuck.lever@oracle.com>
Sun, 4 Feb 2024 23:17:47 +0000 (18:17 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:30 +0000 (09:12 -0500)
commite084ee673c77cade06ab4c2e36b5624c82608b8c
tree8d33291d88020354c7c06bdd4abd95f0e7c8b56f
parentd2727cefff0204c3074a10e3ad2e1b5c9dfb986c
svcrdma: Add Write chunk WRs to the RPC's Send WR chain

Chain RDMA Writes that convey Write chunks onto the local Send
chain. This means all WRs for an RPC Reply are now posted with a
single ib_post_send() call, and there is a single Send completion
when all of these are done. That reduces both the per-transport
doorbell rate and completion rate.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_rw.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c