RDMA/hns: Optimize qp destroy flow
mainline inclusion from mainline-v5.7 commit e365b26c category: bugfix bugzilla: NA CVE: NA 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> Signed-off-by:
Shunfeng Yang <yangshunfeng2@huawei.com> Reviewed-by:
chunzhi hu <huchunzhi@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Showing
- drivers/infiniband/hw/hns/hns_roce_device.h 1 addition, 3 deletionsdrivers/infiniband/hw/hns/hns_roce_device.h
- drivers/infiniband/hw/hns/hns_roce_hw_v1.c 1 addition, 21 deletionsdrivers/infiniband/hw/hns/hns_roce_hw_v1.c
- drivers/infiniband/hw/hns/hns_roce_hw_v2.c 1 addition, 36 deletionsdrivers/infiniband/hw/hns/hns_roce_hw_v2.c
- drivers/infiniband/hw/hns/hns_roce_qp.c 38 additions, 0 deletionsdrivers/infiniband/hw/hns/hns_roce_qp.c
Please register or sign in to comment