IB/srp: Use multiple registrations for large memory regions
authorBart Van Assche <bart.vanassche@sandisk.com>
Tue, 11 Aug 2015 00:06:57 +0000 (17:06 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 30 Aug 2015 22:12:37 +0000 (18:12 -0400)
commit7e85c91970125cb16399c7d1cfedc943266eee49
treee686a18daead1531b75132e8b60f6063805bd14a
parent186fbc6689a368364b7c9eb9d42d6f84b3079f65
IB/srp: Use multiple registrations for large memory regions

Instead of using the global rkey for large memory regions, use
multiple registrations. See also the while (dma_len) loop further
down in srp_map_sg_entry().

Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/srp/ib_srp.c