]> git.baikalelectronics.ru Git - kernel.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)
commitb66d32e6c0beb5ad309afc22c9639006dd55c19c
tree478975535990d19af8c5da05469acea3a2c49d0e
parent13704ca8a46cb14fd92603e87466527e16be64e5
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