RDMA/hns: Submit bad wr when post send wr exception
authorLijun Ou <oulijun@huawei.com>
Sun, 30 Sep 2018 09:00:29 +0000 (17:00 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:03 +0000 (08:20 +0100)
commit5b7064adfb4b11e8cf7bdb8ab232c4b7463db861
tree9bbc2f2f8a78dfd56de55818bd1b6b7df3c6723e
parentaf76265532a870ff27d7be1889570d71a8032049
RDMA/hns: Submit bad wr when post send wr exception

[ Upstream commit c80e066100b5fed722c8da67c1bd2312e7bcf129 ]

When user issues a RDMA read and enables sq inline, it needs to report a
bad wr to user.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c