linux-sg2042/drivers/infiniband/ulp/iser
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 Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
Makefile IB/iser: iSER Kconfig and Makefile 2006-06-22 07:51:14 -07:00
iscsi_iser.c IB/iser: Fix max_sectors calculation 2016-05-05 12:41:24 -04:00
iscsi_iser.h IB/iser: Use ib_drain_sq() 2016-02-29 17:10:27 -05:00
iser_initiator.c IB/iser: Use ib_drain_sq() 2016-02-29 17:10:27 -05:00
iser_memory.c IB/core: Enhance ib_map_mr_sg() 2016-05-13 13:37:57 -04:00
iser_verbs.c Merge branches 'mlx4', 'mlx5' and 'ocrdma' into k.o/for-4.6 2016-03-16 13:38:28 -04:00