Commit 09ed024
RDMA/hns: Fix the wrong value of rnr_retry when querying qp
[ Upstream commit 99fcf82 ]
The rnr_retry returned to the user is not correct, it should be got from
another fields in QPC.
Fixes: bfe8603 ("RDMA/hns: Fix cast from or to restricted __le32 for driver")
Link: https://lore.kernel.org/r/1600509802-44382-7-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>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent e667137 commit 09ed024
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4767 | 4767 | | |
4768 | 4768 | | |
4769 | 4769 | | |
4770 | | - | |
| 4770 | + | |
| 4771 | + | |
| 4772 | + | |
4771 | 4773 | | |
4772 | 4774 | | |
4773 | 4775 | | |
| |||
0 commit comments