IB/iser: Change the increment rkey flow logic
authorSagi Grimberg <sagig@mellanox.com>
Wed, 9 Dec 2015 12:12:07 +0000 (14:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 05:17:36 +0000 (00:17 -0500)
commite26d2d21ff8e3e4f9768960a83e4b7be43f0aeed
tree3e67c2b48b4d6588da0ff96d702f126395e0405c
parent422bd0acb062cd0c14f2af61db76c4f598903ad3
IB/iser: Change the increment rkey flow logic

When we enable remote invalidate support we won't want to perform
local invalidates at the same time we do today, but we still need
to get new rkeys.  So, decouple the rkey update from the local
invalidate and tie it to memory reg instead.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Jenny Derzhavetz <jennyf@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_memory.c