]> git.ipfire.org Git - thirdparty/linux.git/commit
svcrdma: Post Send WR chain
authorChuck Lever <chuck.lever@oracle.com>
Sun, 4 Feb 2024 23:17:22 +0000 (18:17 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 1 Mar 2024 14:12:28 +0000 (09:12 -0500)
commit71b43531ee0be6dcaa406132ebd540022dcb12ea
tree5530d7ca8247eb9c69474dc1799e454cb0746c59
parentfc709d82dda6405862a681cc425386bfaf049539
svcrdma: Post Send WR chain

Eventually I'd like the server to post the reply's Send WR along
with any Write WRs using only a single call to ib_post_send(), in
order to reduce the NIC's doorbell rate.

To do this, add an anchor for a WR chain to svc_rdma_send_ctxt, and
refactor svc_rdma_send() to post this WR chain to the Send Queue. For
the moment, the posted chain will continue to contain a single Send
WR.

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