commit | 6fafe560ee4ddb79b1c9d6c168d4f2e7eef2a037 | [log] [tgz] |
---|---|---|
author | Lijun Ou <oulijun@huawei.com> | Mon Jun 24 19:47:45 2019 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Fri Jul 05 12:02:00 2019 -0300 |
tree | 5fe6f6878fe86dd10b2829ce673eace618faddcd | |
parent | 6e7be47a53459ba3d288c3240ccd948fc699c377 [diff] |
RDMA/hns: Bugfix for cleaning mtr It uses hns_roce_mtr_init in hns_roce_create_qp_common function. As a result, it should use hns_roce_mtr_cleanup function for cleaning mtr when destroying qp. Fixes: 8d18ad83f19b ("RDMA/hns: Fix bug when wqe num is larger than 16K") Signed-off-by: Xi Wang <wangxi11@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>