]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iser: Accept arbitrary sg lists mapping if the device supports it
authorSagi Grimberg <sagig@mellanox.com>
Mon, 29 Feb 2016 17:07:34 +0000 (19:07 +0200)
committerDoug Ledford <dledford@redhat.com>
Fri, 4 Mar 2016 16:59:35 +0000 (11:59 -0500)
commit318d311e8f016dbbf22160d7b1c19a290a95ad9d
tree478975535990d19af8c5da05469acea3a2c49d0e
parentb005d316471374b1ff26df8c8460cc1ea9186647
iser: Accept arbitrary sg lists mapping if the device supports it

If the device support arbitrary sg list mapping (device cap
IB_DEVICE_SG_GAPS_REG set) we allocate the memory regions with
IB_MR_TYPE_SG_GAPS and allow the block layer to pass us
gaps by skip setting the queue virt_boundary.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iscsi_iser.c
drivers/infiniband/ulp/iser/iser_verbs.c