IB/iser: Enable iser when FMRs are not supported
authorOr Gerlitz <ogerlitz@mellanox.com>
Thu, 21 Feb 2013 14:50:10 +0000 (14:50 +0000)
committerRoland Dreier <roland@purestorage.com>
Fri, 22 Feb 2013 08:22:30 +0000 (00:22 -0800)
commit5525d210fd55952262f30ba45b2acceb4a6a50e9
tree858e10e755213533151c142e919d25a4aac3f0b5
parent819a087316a63ef7d60e7b816d18c4e29a05861a
IB/iser: Enable iser when FMRs are not supported

Reuse the "SG unaligned for FMR" driver flow to make the initiator
functional when running over driver instance which doesn't support
FMRs, such as a mlx4 virtual function.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Alex Tabachnik <alext@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/ulp/iser/iser_memory.c
drivers/infiniband/ulp/iser/iser_verbs.c