Commit 58caa2a
RDMA/hns: Fix timeout attr in query qp for HIP08
On HIP08, the queried timeout attr is different from the timeout attr
configured by the user.
It is found by rdma-core testcase test_rdmacm_async_traffic:
======================================================================
FAIL: test_rdmacm_async_traffic (tests.test_rdmacm.CMTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "./tests/test_rdmacm.py", line 33, in test_rdmacm_async_traffic
self.two_nodes_rdmacm_traffic(CMAsyncConnection, self.rdmacm_traffic,
File "./tests/base.py", line 382, in two_nodes_rdmacm_traffic
raise(res)
AssertionError
Fixes: 926a01d ("RDMA/hns: Add QP operations support for hip08 SoC")
Link: https://lore.kernel.org/r/20230512092245.344442-2-huangjunxian6@hisilicon.com
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>1 parent 866422c commit 58caa2a
2 files changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5012 | 5012 | | |
5013 | 5013 | | |
5014 | 5014 | | |
5015 | | - | |
5016 | 5015 | | |
5017 | 5016 | | |
5018 | 5017 | | |
| |||
5021 | 5020 | | |
5022 | 5021 | | |
5023 | 5022 | | |
5024 | | - | |
| 5023 | + | |
5025 | 5024 | | |
5026 | 5025 | | |
5027 | 5026 | | |
| |||
5307 | 5306 | | |
5308 | 5307 | | |
5309 | 5308 | | |
| 5309 | + | |
| 5310 | + | |
| 5311 | + | |
| 5312 | + | |
| 5313 | + | |
| 5314 | + | |
| 5315 | + | |
| 5316 | + | |
| 5317 | + | |
| 5318 | + | |
| 5319 | + | |
| 5320 | + | |
5310 | 5321 | | |
5311 | 5322 | | |
5312 | 5323 | | |
| |||
5384 | 5395 | | |
5385 | 5396 | | |
5386 | 5397 | | |
5387 | | - | |
| 5398 | + | |
5388 | 5399 | | |
5389 | 5400 | | |
5390 | 5401 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments