]> www.infradead.org Git - users/hch/misc.git/commit
selftests/tc-testing: Add a test case for FQ_CODEL with HTB parent
authorCong Wang <xiyou.wangcong@gmail.com>
Thu, 3 Apr 2025 21:16:32 +0000 (14:16 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Apr 2025 08:58:15 +0000 (10:58 +0200)
commitcbe9588b12d058cbb16735fd468c82ec4b3d1256
treed76c047ae637051dd34036962ad6e77d2ae0ccce
parent342debc12183b51773b3345ba267e9263bdfaaef
selftests/tc-testing: Add a test case for FQ_CODEL with HTB parent

Add a test case for FQ_CODEL with HTB parent to verify packet drop
behavior when the queue becomes empty. This helps ensure proper
notification mechanisms between qdiscs.

Note this is best-effort, it is hard to play with those parameters
perfectly to always trigger ->qlen_notify().

Cc: Pedro Tammela <pctammela@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Victor Nogueira <victor@mojatatu.com>
Link: https://patch.msgid.link/20250403211636.166257-2-xiyou.wangcong@gmail.com
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/tc-testing/tc-tests/infra/qdiscs.json