RDMA/hns: Skip qp_flow_control_init() for HIP09
authorYixing Liu <liuyixing1@huawei.com>
Fri, 5 Feb 2021 09:39:28 +0000 (17:39 +0800)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 9 Feb 2021 00:25:25 +0000 (20:25 -0400)
commit3fe07a008e0b4f88280e0c66241fdfa02f1604a2
tree0fe02550abc4f6cffbc42f8cdd194e2793cb2104
parent7373de9adb19aebed2781d3fdde576533d626d7a
RDMA/hns: Skip qp_flow_control_init() for HIP09

Since HIP09 does not require this function, it should be masked.

Link: https://lore.kernel.org/r/1612517974-31867-7-git-send-email-liweihang@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/hns/hns_roce_hw_v2.c