Commit ab6f724
RDMA/hns: Fix retry_cnt and rnr_cnt when querying QP
The maximum number of retransmission should be returned when querying QP,
not the value of retransmission counter.
Fixes: 99fcf82 ("RDMA/hns: Fix the wrong value of rnr_retry when querying qp")
Fixes: 926a01d ("RDMA/hns: Add QP operations support for hip08 SoC")
Link: https://lore.kernel.org/r/1606382977-21431-1-git-send-email-liweihang@huawei.com
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>1 parent ebed7b7 commit ab6f724
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4989 | 4989 | | |
4990 | 4990 | | |
4991 | 4991 | | |
4992 | | - | |
4993 | | - | |
| 4992 | + | |
| 4993 | + | |
4994 | 4994 | | |
4995 | | - | |
4996 | | - | |
| 4995 | + | |
| 4996 | + | |
4997 | 4997 | | |
4998 | 4998 | | |
4999 | 4999 | | |
| |||
0 commit comments