RDMA/hns: Use flush framework for the case in aeq
authorYixian Liu <liuyixian@huawei.com>
Sat, 22 Feb 2020 10:25:57 +0000 (18:25 +0800)
committerJason Gunthorpe <jgg@mellanox.com>
Fri, 28 Feb 2020 15:28:31 +0000 (11:28 -0400)
commit0fc99566f6eeb8c1d7e1795710b95c03a987124d
tree9857c0b7a1db1bad1a4c3ad95ba60f1438bec32c
parentdfaf2854b02e5c45bf806c7a1d8b4706b87ddc8e
RDMA/hns: Use flush framework for the case in aeq

As now we already have flush framework, using it instead of current flush
process for qp error in asynchronized interrupt (aeq).

Link: https://lore.kernel.org/r/1582367158-27030-2-git-send-email-liuyixian@huawei.com
Signed-off-by: Yixian Liu <liuyixian@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c
drivers/infiniband/hw/hns/hns_roce_qp.c