RDMA/hns: Bugfix for sending with invalidate
authorLijun Ou <oulijun@huawei.com>
Sat, 23 Feb 2019 12:01:26 +0000 (20:01 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 25 Mar 2019 23:59:56 +0000 (20:59 -0300)
commit82342e493b7e53f5e0d0698a48190f05e84d6690
treeaf86ec51fec79432b0a298df01dcf5c3a5f053c4
parent07c2339a91c1ec3a8b8ada00361eced7b153ec0c
RDMA/hns: Bugfix for sending with invalidate

According to IB protocol, the send with invalidate operation will not
invalidate mr that was created through a register mr or reregister mr.

Fixes: e93df0108579 ("RDMA/hns: Support local invalidate for hip08 in kernel space")
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c