svcrdma: Support multiple Write chunks in svc_rdma_map_reply_msg()
authorChuck Lever <chuck.lever@oracle.com>
Mon, 9 Mar 2020 17:29:27 +0000 (13:29 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 18:00:23 +0000 (13:00 -0500)
commit2371bcc056647327445150d6df0502d92ad68439
tree60659cfb4204fe57d8f65d9b0a5316bc0aed6b03
parent9d0b09d5ef0c842592a5df3a5b8b59124485ff1b
svcrdma: Support multiple Write chunks in svc_rdma_map_reply_msg()

Refactor: svc_rdma_map_reply_msg() is restructured to DMA map only
the parts of rq_res that do not contain a result payload.

This change has been tested to confirm that it does not cause a
regression in the no Write chunk and single Write chunk cases.
Multiple Write chunks have not been tested.

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