[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260121122403.GA458529@shredder>
Date: Wed, 21 Jan 2026 14:24:03 +0200
From: Ido Schimmel <idosch@...dia.com>
To: Aleksei Oladko <aleksey.oladko@...tuozzo.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, Shuah Khan <shuah@...nel.org>,
Petr Machata <petrm@...dia.com>,
Nikolay Aleksandrov <razor@...ckwall.org>, netdev@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/6] selftests: forwarding: skip tests when kernel or
userspace support is missing
On Tue, Jan 20, 2026 at 11:02:02PM +0000, Aleksei Oladko wrote:
> Hi,
>
> Several forwarding selftests currently assume that certain kernel
> features or tc/ip capabilities are always present. When this is no the
> case (e.g. kernel built without specific CONFIG options or older
> iproute2).
>
> This series adds explicit feature probing and conditional skips to
> avoid false negatives.
>
> Summary of changes:
> 1. forwarding/lib: skip tests that require LAG devices when the team
> driver is not supported (CONFIG_NET_TEAM disabled)
> 2. forwarding/sch_ets: skip tests if the cls_basic module is not
> available (CONFIG_NET_CLS_BASIC disabled)
Both are mentioned in tools/testing/selftests/net/forwarding/config
> 3. forwarding/lib introduce run_cmd_grep helper to probe userspace
> feature support by matching keywords in command help output
> 4. forwarding/tc_flower_cfm: skip test when tc does not support cfm
> 5. forwarding/tc_flower_l2_miss: skip test when tc does not support
> l2_miss
Both are present in iproute2 v6.5 (September 2023).
> 6. forwarding/router_mpath_seed: skip tests then ip does not support
> hw_stats
Present in iproute2 v6.10 (July 2024).
Latest version is v6.18.
I don't see the point in running netdev selftests with such old
versions. Especially when it should be relatively easy to put a new
version in PATH
Powered by blists - more mailing lists