IB/isert: Support the remote invalidation exception
authorJenny Derzhavetz <jennyf@mellanox.com>
Wed, 9 Dec 2015 12:12:06 +0000 (14:12 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 24 Dec 2015 05:17:36 +0000 (00:17 -0500)
commit422bd0acb062cd0c14f2af61db76c4f598903ad3
tree0e1e56719858c050e2c84786e263ed06afec7784
parent13bce4821fb9d0bd2525e06d29025b6408bfdded
IB/isert: Support the remote invalidation exception

We'll use remote invalidate, according to negotiation result
during connection establishment. If the initiator declared that
it supports the remote invalidate exception and the local HCA
supports IB_DEVICE_MEM_MGT_EXTENSIONS then the target will
use IB_WR_SEND_WITH_INV with the correct rkey for the response.

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