linux-stable/drivers/infiniband/hw
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
..
cxgb3 IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
cxgb4 IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
i40iw IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
mlx4 IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
mlx5 IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
mthca mm/gup: Switch all callers of get_user_pages() to not pass tsk/mm 2016-02-16 10:11:12 +01:00
nes IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
ocrdma IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
qib IB/rdmavt,hfi1,qib: Fix memory leak 2016-04-28 16:32:27 -04:00
usnic Merge branch 'mm-pkeys-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2016-03-20 19:08:56 -07:00
Makefile i40iw: changes for build of i40iw module 2016-03-16 13:50:54 -04:00