diff options
| author | Gioh Kim <[email protected]> | 2021-05-28 13:30:13 +0200 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-05-28 20:52:58 -0300 |
| commit | 64bce1ee978491a779eb31098b21c57d4e431d6a (patch) | |
| tree | 2a6bf29b4c32dc63b12f35111350a2780de2bef0 /tools/perf/scripts/python | |
| parent | 78df092c3822fc5400ab5de97f3958acb06ab246 (diff) | |
RDMA/rtrs: Do not reset hb_missed_max after re-connection
When re-connecting, it resets hb_missed_max to 0.
Before the first re-connecting, client will trigger re-connection
when it gets hb-ack more than 5 times. But after the first
re-connecting, clients will do re-connection whenever it does
not get hb-ack because hb_missed_max is 0.
There is no need to reset hb_missed_max when re-connecting.
hb_missed_max should be kept until closing the session.
Fixes: c0894b3ea69d3 ("RDMA/rtrs: core: lib functions shared between client and server modules")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Gioh Kim <[email protected]>
Signed-off-by: Jack Wang <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions