linux/tools/testing/selftests/tc-testing/tc-tests
Cong Wang c3572acffb 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>
2025-05-22 11:16:51 +02:00
..
actions selftests: tc-testing: fix nat regex matching 2025-04-02 16:34:38 -07:00
filters selftests: tc-testing: reduce rshift value 2025-01-04 08:49:47 -08:00
infra selftests/tc-testing: Add an HFSC qlen accounting test 2025-05-22 11:16:51 +02:00
qdiscs selftests/tc-testing: Add qdisc limit trimming tests 2025-05-09 12:34:38 +01:00