summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/qib
diff options
context:
space:
mode:
authorChengchang Tang <tangchengchang@huawei.com>2022-11-26 13:29:07 +0300
committerJason Gunthorpe <jgg@nvidia.com>2022-12-08 02:51:04 +0300
commitbc34c04f7b97c3794dec5a6d6d27ffd5f0e4f5c8 (patch)
tree430644b7b763fff30c9aad0b93eb3b8a259e137b /drivers/infiniband/hw/qib
parent487d65090a3dce1ae54946aded55d0f8ac87cbab (diff)
downloadlinux-bc34c04f7b97c3794dec5a6d6d27ffd5f0e4f5c8.tar.xz
RDMA/hns: Fix AH attr queried by query_qp
The queried AH attr is invalid. This patch fix it. This problem is found by rdma-core test test_mr_rereg_pd ERROR: test_mr_rereg_pd (tests.test_mr.MRTest) Test that cover rereg MR's PD with this flow: ---------------------------------------------------------------------- Traceback (most recent call last): File "./tests/test_mr.py", line 157, in test_mr_rereg_pd self.restate_qps() File "./tests/test_mr.py", line 113, in restate_qps self.server.qp.to_rts(self.server_qp_attr) File "qp.pyx", line 1137, in pyverbs.qp.QP.to_rts File "qp.pyx", line 1123, in pyverbs.qp.QP.to_rtr pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument Fixes: 926a01dc000d ("RDMA/hns: Add QP operations support for hip08 SoC") Link: https://lore.kernel.org/r/20221126102911.2921820-3-xuhaoyue1@hisilicon.com Signed-off-by: Chengchang Tang <tangchengchang@huawei.com> Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/qib')
0 files changed, 0 insertions, 0 deletions