svcrdma: Add a batch Receive posting mechanism
authorChuck Lever <chuck.lever@oracle.com>
Thu, 11 Mar 2021 18:54:34 +0000 (13:54 -0500)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 22 Mar 2021 17:22:13 +0000 (13:22 -0400)
commit77f0a2aa5cdde0524eab745f7a117706d3e3014f
tree901d961c3c829c3008240605ee479cd0836d1748
parentc6b7ed8f946fe03b45d2cf3d2b5452d831e6f237
svcrdma: Add a batch Receive posting mechanism

Introduce a server-side mechanism similar to commit e340c2d6ef2a
("xprtrdma: Reduce the doorbell rate (Receive)") to post Receive
WRs in batch. Its first consumer is svc_rdma_post_recvs(), which
posts the initial set of Receive WRs.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c