aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2025-05-18 15:20:38 -0700
committerPaolo Abeni <pabeni@redhat.com>2025-05-22 11:16:51 +0200
commitc3572acffb751af65505511b847f628c872ffae0 (patch)
treef1ddeec48ad65660bed9ce2fccdbd3c3b88d34c1 /tools/perf/scripts/python/export-to-postgresql.py
parentsch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue() (diff)
downloadwireguard-linux-c3572acffb751af65505511b847f628c872ffae0.tar.xz
wireguard-linux-c3572acffb751af65505511b847f628c872ffae0.zip
selftests/tc-testing: Add an HFSC qlen accounting test
This test reproduces a scenario where HFSC queue length and backlog accounting can become inconsistent when a peek operation triggers a dequeue and possible drop before the parent qdisc updates its counters. The test sets up a DRR root qdisc with an HFSC class, netem, and blackhole children, and uses Scapy to inject a packet. It helps to verify that HFSC correctly tracks qlen and backlog even when packets are dropped during peek-induced dequeue. Cc: Mingi Cho <mincho@theori.io> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250518222038.58538-3-xiyou.wangcong@gmail.com Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions