Re: [PATCH] selftests: netdevsim: skip the rate tc-bw check without tool support

From: Jakub Kicinski

Date: Fri Sep 25 2026 - 20:13:48 EST


On Fri, 25 Sep 2026 16:55:01 +0300 Eva Kurchatova wrote:
> The tc-bw attribute was added to devlink in iproute2 6.17, together
> with the kernel side in v6.17. An older devlink has no such option and
> the rate test fails on "Unknown option" instead of skipping.
>
> Probe once in rate_test() and skip the tc-bw checks as a whole, so that
> a missing option costs a single skip line rather than one per rate
> object.

Maintaining backward compat for tests is not a goal for us.
Teach your testing hardness to do this automatically, or carry your own
fixes.
--
pw-bot: reject