diff options
author | Xin Long <[email protected]> | 2016-07-09 19:47:44 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-07-11 13:25:39 -0700 |
commit | 01aadb3af6e1b10970c1f7e510b5097c8f725d64 (patch) | |
tree | 48a0b5f81a01756090b6ecfe815f777be10f2041 /tools/perf/scripts/python/compaction-times.py | |
parent | a6c2f792873aff332a4689717c3cd6104f46684c (diff) |
sctp: implement prsctp RTX policy
prsctp RTX policy is a policy to abandon chunks when they are
retransmitted beyond the max count.
This patch uses sent_count to count how many times one chunk has
been sent, and prsctp_param is the max rtx count, which is from
sinfo->sinfo_timetolive in sctp_set_prsctp_policy(). So similar
to TTL policy, if RTX policy is enabled, msg->expire_at won't
work.
Then in sctp_chunk_abandoned, this patch checks if chunk->sent_count
is bigger than chunk->prsctp_param to abandon this chunk.
Signed-off-by: Xin Long <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions