linux-sg2042/drivers/infiniband/hw/ocrdma
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
..
Kconfig RDMA/ocrdma: Add dependency on INET 2014-01-19 15:16:23 -08:00
Makefile RDMA/ocrdma: Query controller information 2014-04-03 08:30:05 -07:00
ocrdma.h RDMA/ocrdma: Support RoCE-v2 in the UD path 2016-02-29 17:12:10 -05:00
ocrdma_abi.h RDMA/ocrdma: update ocrdma license to dual-license 2015-07-24 11:34:34 -04:00
ocrdma_ah.c IB/ocrdma: Delete unnecessary variable initialisations in 11 functions 2016-03-03 13:31:59 -05:00
ocrdma_ah.h RDMA/ocrdma: Support user AH creation for RoCE-v2 2016-02-29 17:12:10 -05:00
ocrdma_hw.c IB/ocrdma: Skip using unneeded intermediate variable 2016-03-03 13:33:10 -05:00
ocrdma_hw.h RDMA/ocrdma: Depend on async link events from CNA 2016-01-19 14:00:47 -05:00
ocrdma_main.c RDMA/ocrdma: Export udp encapsulation capability 2016-02-29 17:12:10 -05:00
ocrdma_sli.h RDMA/ocrdma: Support RoCE-v2 in the RC path 2016-02-29 17:12:10 -05:00
ocrdma_stats.c IB/ocrdma: Delete unnecessary variable initialisations in 11 functions 2016-03-03 13:31:59 -05:00
ocrdma_stats.h RDMA/ocrdma: Initialize stats resources in the driver before ib device registration. 2016-02-05 15:14:27 -05:00
ocrdma_verbs.c IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
ocrdma_verbs.h IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00