aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2024-04-18 21:45:59 +0000
committerJakub Kicinski <[email protected]>2024-04-22 14:25:27 -0700
commitd5b38a71d3334bc87931997f1b0a16464bbbe2ba (patch)
treed363786cfa5dea6aedf448c4c41d6b1a03e03ee6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace
parent22555032c513e62fe744d4cdd553539897e8e922 (diff)
tcp: call tcp_set_skb_tso_segs() from tcp_write_xmit()
tcp_write_xmit() calls tcp_init_tso_segs() to set gso_size and gso_segs on the packet. tcp_init_tso_segs() requires the stack to maintain an up to date tcp_skb_pcount(), and this makes sense for packets in rtx queue. Not so much for packets still in the write queue. In the following patch, we don't want to deal with tcp_skb_pcount() when moving payload from 2nd skb to 1st skb in the write queue. Signed-off-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions