]> www.infradead.org Git - users/hch/misc.git/commit
selftests/tc-testing: Add a test case for DRR class with TC_H_ROOT
authorCong Wang <xiyou.wangcong@gmail.com>
Thu, 6 Mar 2025 23:23:55 +0000 (15:23 -0800)
committerJakub Kicinski <kuba@kernel.org>
Wed, 12 Mar 2025 19:52:14 +0000 (12:52 -0700)
commitbb7737de5f593155aabbca283f4822176f4e7d6b
treefe3c9efb21686d7eca211970d80433ba6b167f16
parent0c3057a5a04d07120b3d0ec9c79568fceb9c921e
selftests/tc-testing: Add a test case for DRR class with TC_H_ROOT

Integrate the reproduer from Mingi to TDC.

All test results:

1..4
ok 1 0385 - Create DRR with default setting
ok 2 2375 - Delete DRR with handle
ok 3 3092 - Show DRR class
ok 4 4009 - Reject creation of DRR class with classid TC_H_ROOT

Cc: Mingi Cho <mincho@theori.io>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250306232355.93864-3-xiyou.wangcong@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/qdiscs/drr.json