xprtrdma: Port to new memory registration API
authorSagi Grimberg <[email protected]>
Tue, 13 Oct 2015 16:11:35 +0000 (19:11 +0300)
committerDoug Ledford <[email protected]>
Thu, 29 Oct 2015 02:27:18 +0000 (22:27 -0400)
commit4143f34e01e9cdf1882f98c54d9073e4de8c28fb
tree6cdd57defe70269dbc4a6b056d5c7f1e21a1013f
parent16c2d702f2c76892f47944a53d9e1ce42023046d
xprtrdma: Port to new memory registration API

Instead of maintaining a fastreg page list, keep an sg table
and convert an array of pages to a sg list. Then call ib_map_mr_sg
and construct ib_reg_wr.

Signed-off-by: Sagi Grimberg <[email protected]>
Acked-by: Christoph Hellwig <[email protected]>
Tested-by: Steve Wise <[email protected]>
Tested-by: Selvin Xavier <[email protected]>
Reviewed-by: Chuck Lever <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
net/sunrpc/xprtrdma/frwr_ops.c
net/sunrpc/xprtrdma/xprt_rdma.h