aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorDavid Ahern <[email protected]>2022-01-24 19:45:11 -0700
committerJakub Kicinski <[email protected]>2022-01-25 14:44:55 -0800
commitab14f1802cfb2d7ca120bbf48e3ba6712314ffc3 (patch)
treec96c04a12016c292bf82db5bb5efc40b58b20786 /tools/perf/util/scripting-engines/trace-event-python.c
parent6b0671a23dd6cc949d12fa8d65171856159cd17b (diff)
net: Adjust sk_gso_max_size once when set
sk_gso_max_size is set based on the dst dev. Both users of it adjust the value by the same offset - (MAX_TCP_HEADER + 1). Rather than compute the same adjusted value on each call do the adjustment once when set. Signed-off-by: David Ahern <[email protected]> Reviewed-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/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions