OSDN Git Service

svcrdma: Add svc_rdma_map_reply_hdr()
authorChuck Lever <chuck.lever@oracle.com>
Sun, 9 Apr 2017 17:05:44 +0000 (13:05 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 25 Apr 2017 21:25:54 +0000 (17:25 -0400)
commit6e6092ca305ad785c605d7e313727aad96c228a5
tree51741ddf7ed22ce3a922c356dc54041b62026994
parent17f5f7f506aaca985b95df7ef7fc2ff49c36a8e9
svcrdma: Add svc_rdma_map_reply_hdr()

Introduce a helper to DMA-map a reply's transport header before
sending it. This will in part replace the map vector cache.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h
net/sunrpc/xprtrdma/svc_rdma_backchannel.c
net/sunrpc/xprtrdma/svc_rdma_sendto.c