selftests/tc-testing: sfq: check perturb timer values
authorEric Dumazet <edumazet@google.com>
Fri, 13 Jun 2025 06:41:36 +0000 (06:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 16 Jun 2025 22:02:03 +0000 (15:02 -0700)
commitde74998c3008a2e0af97a918dfbb7560ecb79ee4
tree1eb5c4ce0a5fc0eb5124d15d0318876723fb5c0d
parent6f10624d954f7194d7d91bc92ab5340ed1be3f9b
selftests/tc-testing: sfq: check perturb timer values

Add one test to check that the kernel rejects a negative perturb timer.

Add a second test checking that the kernel rejects
a too big perturb timer.

All test results:

1..2
ok 1 cdc1 - Check that a negative perturb timer is rejected
ok 2 a9f0 - Check that a too big perturb timer is rejected

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Cong Wang <xiyou.wangcong@gmail.com>
Link: https://patch.msgid.link/20250613064136.3911944-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/tc-testing/tc-tests/qdiscs/sfq.json