linux_dsm_epyc7002/net/sunrpc/xprtrdma
Bart Van Assche 9aa8b3217e IB/core: Enhance ib_map_mr_sg()
The SRP initiator allows to set max_sectors to a value that exceeds
the largest amount of data that can be mapped at once with an mlx4
HCA using fast registration and a page size of 4 KB. Hence modify
ib_map_mr_sg() such that it can map partial sg-elements. If an
sg-element has been mapped partially, let the caller know
which fraction has been mapped by adjusting *sg_offset.

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Tested-by: Laurence Oberman <loberman@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-05-13 13:37:57 -04:00
..
backchannel.c xprtrdma: rpcrdma_bc_receive_call() should init rq_private_buf.len 2016-02-17 10:23:52 -05:00
fmr_ops.c xprtrdma: Use an anonymous union in struct rpcrdma_mw 2016-03-14 14:56:06 -04:00
frwr_ops.c IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
Makefile svcrdma: Add class for RDMA backwards direction transport 2016-01-19 15:30:48 -05:00
module.c rpcrdma: Merge svcrdma and xprtrdma modules into one 2015-06-04 16:56:02 -04:00
physical_ops.c xprtrdma: Clean up physical_op_map() 2016-03-14 14:55:47 -04:00
rpc_rdma.c xprtrdma: Serialize credit accounting again 2016-03-14 14:56:01 -04:00
svc_rdma_backchannel.c svcrdma: Use new CQ API for RPC-over-RDMA server send CQs 2016-03-01 13:06:43 -08:00
svc_rdma_marshal.c svcrdma: Hook up the logic to return ERR_CHUNK 2016-03-01 13:06:40 -08:00
svc_rdma_recvfrom.c IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
svc_rdma_sendto.c svcrdma: Use new CQ API for RPC-over-RDMA server send CQs 2016-03-01 13:06:43 -08:00
svc_rdma_transport.c svcrdma: Use new CQ API for RPC-over-RDMA server send CQs 2016-03-01 13:06:43 -08:00
svc_rdma.c svcrdma: Define maximum number of backchannel requests 2016-01-19 15:30:48 -05:00
transport.c Initial roundup of 4.5 merge window patches 2016-01-23 18:45:06 -08:00
verbs.c xprtrdma: Use new CQ API for RPC-over-RDMA client send CQs 2016-03-14 14:56:08 -04:00
xprt_rdma.h xprtrdma: Use new CQ API for RPC-over-RDMA client send CQs 2016-03-14 14:56:08 -04:00