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

Add a test case for FQ_CODEL with HFSC 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-4-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