RDMA/iser: don't send an rkey if all data is written as immadiate-data
authorSagi Grimberg <sagi@grimberg.me>
Thu, 6 Jul 2017 07:21:36 +0000 (10:21 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:20:50 +0000 (11:20 -0400)
commite6e52aec494900912fedd7b595b8827ba70a670d
tree8efe6cb362d38cf717cd79ad583653e917997cde
parent1217197142d1681a8b8aaa88cdf4b245b76974cd
RDMA/iser: don't send an rkey if all data is written as immadiate-data

We might get some bogus error completions in case the target will
remotely invalidate the rkey and the HCA will need to retransmit
from this buffer.

Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/iser/iser_initiator.c