linux-mainline/tools
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
..
accounting
arch x86/insn: Fix CTEST instruction decoding 2025-04-24 20:19:17 +02:00
bootconfig
bpf
build
certs
cgroup
counter
crypto
debugging
firewire
firmware
gpio
hv tools/hv: update route parsing in kvp daemon 2025-04-25 06:07:09 +00:00
iio
include bpf: Clarify handling of mark and tstamp by redirect_peer 2025-05-07 18:16:33 -07:00
kvm/kvm_stat
laptop
leds
lib perf tools: Fix in-source libperf build 2025-04-29 12:32:31 -07:00
memory-model
mm
net tools: ynl-gen: Allow multi-attr without nested-attributes again 2025-05-13 15:01:50 -07:00
objtool * Mitigate Indirect Target Selection (ITS) issue 2025-05-11 17:23:03 -07:00
pcmcia
perf perf tools: Fix in-source libperf build 2025-04-29 12:32:31 -07:00
power
rcu
sched_ext
scripts tools headers: Update the syscall table with the kernel sources 2025-04-10 09:28:24 -07:00
sound
spi
testing selftests/tc-testing: Add an HFSC qlen accounting test 2025-05-22 11:16:51 +02:00
thermal
time
tracing
usb
verification
virtio
wmi
workqueue
writeback
Makefile