On 10 Jul 2026, at 20:04, Matthieu Baerts (NGI0) wrote:
> The kselftests doc mentions that a config file should be present "if a
> test needs specific kernel config options enabled". This selftest
> requires some kernel config, but no config file was provided.
>
> We could say that a sub-target could use the parent's config file, but
> the kselftests doc doesn't mention anything about that. Plus the
> net/openvswitch target is the only net target without a config file.
>
> Here is a new config file, which is a trimmed version of the net one,
> with hopefully the minimal required kconfig on top of 'make defconfig'.
>
> The Fixes tag points to the introduction of the net/openvswitch target,
> just to help validating this target on stable kernels.
>
> Fixes: 25f16c873fb1 ("selftests: add openvswitch selftest suite")
> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Thanks for adding this Matthieu.
The changes look good to me, and I've tested the configuration and
it works fine. Note that the config cannot be used for the OVS
make-kernel test as it's missing some modules. But that's fine for
the purpose of this kselftest suite.
Do note that when adding new tests to the openvswitch kselftest
suite, they should be validated against this config, as the upstream
CI uses the net config, which has more modules enabled.
Reviewed-by: Eelco Chaudron <[email protected]>