]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests/tc-testing: add qdisc hierarchy depth tests
authorZijie Huang <milkory@outlook.com>
Sat, 1 Aug 2026 13:42:34 +0000 (21:42 +0800)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 6 Aug 2026 13:25:15 +0000 (15:25 +0200)
commitd8eb9a06b922418598eac38fb9772ea4e9ef4273
tree8f36df55d603ec03e1c1469836a53958c92cf171
parentdedd34b0f2310e28c5f6d4875cfbf4b7ed821c01
selftests/tc-testing: add qdisc hierarchy depth tests

Add tdc coverage for the qdisc hierarchy depth limit.

The tests verify that the deepest allowed hierarchy can still be created
and that adding another child qdisc below it is rejected.

Signed-off-by: Zijie Huang <milkory@outlook.com>
Assisted-by: Codex:gpt-5.4
Signed-off-by: Ren Wei <enjou1224z@gmail.com>
Reviewed-by: Victor Nogueira <victor@mojatatu.com>
Link: https://patch.msgid.link/5cc2d26a7c8e553759cdd29a3116f843fabc25ba.1785434373.git.milkory@outlook.com
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/tc-testing/tc-tests/qdiscs/depth.json [new file with mode: 0644]