aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2022-07-12 21:52:26 +0100
committerJakub Kicinski <[email protected]>2022-07-18 19:58:29 -0700
commit773ba4fe9104a64a54d1c00f0fb6ffb95def2b03 (patch)
tree5eda2b3a67d5dee6e800103090fcebdd3975bd67 /tools/perf/scripts/python/event_analyzing_sample.py
parent8eb77cc73977d88787b37c92831b1c242e035396 (diff)
ipv6: avoid partial copy for zc
Even when zerocopy transmission is requested and possible, __ip_append_data() will still copy a small chunk of data just because it allocated some extra linear space (e.g. 128 bytes). It wastes CPU cycles on copy and iter manipulations and also misalignes potentially aligned data. Avoid such copies. And as a bonus we can allocate smaller skb. Signed-off-by: Pavel Begunkov <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions