Commit 0aabf99
RDMA/hns: Fix configuration of ack_req_freq in QPC
[ Upstream commit fbed9d2 ]
The hardware will add AckReq flag in BTH header according to the value of
ack_req_freq to request ACK from responder for the packets with this flag.
It should be greater than or equal to lp_pktn_ini instead of using a fixed
value.
Fixes: 7b9bd73 ("RDMA/hns: Fix wrong assignment of lp_pktn_ini in QPC")
Link: https://lore.kernel.org/r/1600509802-44382-8-git-send-email-liweihang@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 09ed024 commit 0aabf99
1 file changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3641 | 3641 | | |
3642 | 3642 | | |
3643 | 3643 | | |
3644 | | - | |
3645 | | - | |
3646 | | - | |
3647 | 3644 | | |
3648 | 3645 | | |
3649 | 3646 | | |
| |||
3954 | 3951 | | |
3955 | 3952 | | |
3956 | 3953 | | |
| 3954 | + | |
3957 | 3955 | | |
3958 | 3956 | | |
3959 | 3957 | | |
| |||
4061 | 4059 | | |
4062 | 4060 | | |
4063 | 4061 | | |
4064 | | - | |
| 4062 | + | |
| 4063 | + | |
| 4064 | + | |
4065 | 4065 | | |
4066 | | - | |
4067 | | - | |
| 4066 | + | |
4068 | 4067 | | |
4069 | 4068 | | |
4070 | 4069 | | |
| 4070 | + | |
| 4071 | + | |
| 4072 | + | |
| 4073 | + | |
| 4074 | + | |
| 4075 | + | |
| 4076 | + | |
4071 | 4077 | | |
4072 | 4078 | | |
4073 | 4079 | | |
| |||
0 commit comments