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

Add a test case for FQ_CODEL with DRR 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-5-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