selftests/tc-testing: Add a test case for FQ_CODEL with ETS parent
authorCong Wang <xiyou.wangcong@gmail.com>
Thu, 3 Apr 2025 21:16:36 +0000 (14:16 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 8 Apr 2025 08:58:16 +0000 (10:58 +0200)
commitce94507f5fe04eb7fe1eecfe32a2b29233341ff0
tree84ba3bb5aba72fea35319cfb178a44e54554a835
parent0d5c27ecb60c6cc4e394035aa04696d7eb39f072
selftests/tc-testing: Add a test case for FQ_CODEL with ETS parent

Add a test case for FQ_CODEL with ETS 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-6-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