diff options
| author | Eric Dumazet <edumazet@google.com> | 2025-11-21 08:32:47 +0000 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-11-25 16:10:32 +0100 |
| commit | 2773cb0b3120eb5c4b66d949eb99853d5bae1221 (patch) | |
| tree | d69f093e7f09af1f83c6524e9437c5b92df56e6c /tools/perf/scripts/python/git@git.tavy.me:linux.git | |
| parent | f9e00e51e391d08de31ca98d9f8609a1bceec2d2 (diff) | |
net_sched: use qdisc_skb_cb(skb)->pkt_segs in bstats_update()
Avoid up to two cache line misses in qdisc dequeue() to fetch
skb_shinfo(skb)->gso_segs/gso_size while qdisc spinlock is held.
This gives a 5 % improvement in a TX intensive workload.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20251121083256.674562-6-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
