aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorXin Long <[email protected]>2021-07-25 13:42:50 -0400
committerDavid S. Miller <[email protected]>2021-07-25 23:06:02 +0100
commit058e6e0ed0eace43401c945082dec1d669b5b231 (patch)
tree6a16a2ca8554df78975388425fe6eb37f3ba858a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parent795e3d2ea68e489ee7039ac29e98bfea0e34a96c (diff)
sctp: improve the code for pmtu probe send and recv update
This patch does 3 things: - make sctp_transport_pl_send() and sctp_transport_pl_recv() return bool type to decide if more probe is needed to send. - pr_debug() only when probe is really needed to send. - count pl.raise_count in sctp_transport_pl_send() instead of sctp_transport_pl_recv(), and it's only incremented for the 1st probe for the same size. These are preparations for the next patch to make probes happen only when there's packet loss in Search Complete state. Signed-off-by: Xin Long <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions