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)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 3 Oct 2018 22:21:17 +0000 (16:21 -0600)
commitc80e066100b5fed722c8da67c1bd2312e7bcf129
tree3ae9b01f37b06f1b011ed848056bce6315a30f78
parent06ef0ee4b569101f3a07ce08335dbf29fd1404ef
RDMA/hns: Submit bad wr when post send wr exception

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>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c