RDMA/hns: Optimize qp destroy flow
Wrap the duplicate code in hip08 and hip06 qp destruction process as hns_roce_qp_destroy() to simply the qp destroy flow. Link: https://lore.kernel.org/r/1582526258-13825-2-git-send-email-liweihang@huawei.com Signed-off-by:Xi Wang <wangxi11@huawei.com> Signed-off-by:
Weihang Li <liweihang@huawei.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/hw/hns/hns_roce_device.h 2 additions, 3 deletionsdrivers/infiniband/hw/hns/hns_roce_device.h
- drivers/infiniband/hw/hns/hns_roce_hw_v1.c 2 additions, 17 deletionsdrivers/infiniband/hw/hns/hns_roce_hw_v1.c
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c 1 addition, 38 deletionsdrivers/infiniband/hw/hns/hns_roce_hw_v2.c
- drivers/infiniband/hw/hns/hns_roce_qp.c 41 additions, 0 deletionsdrivers/infiniband/hw/hns/hns_roce_qp.c
Please register or sign in to comment