Re: [PATCH net 6/7] selftests: drv-net: add missing kconfig for psp.py
From: Wei Wang
Date: Fri Jul 10 2026 - 17:28:25 EST
On Fri, Jul 10, 2026 at 11:05 AM Matthieu Baerts (NGI0)
<matttbe@xxxxxxxxxx> wrote:
>
> >
> This psp.py selftest was failing on my side when only using the
> drivers/net config file on top of the default one -- the recommended way
> to execute selftest targets.
>
> It looks like some kernel config are needed to execute the new tc
> commands.
>
> Note that this was not visible on NIPA, because these tests are executed
> with the drivers/net/hw ones, combining the two config files, and the hw
> one contains the missing ones.
>
> Fixes: 3f74d5bb807e ("selftests/net: Add env for container based tests")
> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@xxxxxxxxxx>
> ---
> To: Andrew Lunn <andrew+netdev@xxxxxxx>
> To: Alexei Starovoitov <ast@xxxxxxxxxx>
> To: Daniel Borkmann <daniel@xxxxxxxxxxxxx>
> To: Jesper Dangaard Brouer <hawk@xxxxxxxxxx>
> To: John Fastabend <john.fastabend@xxxxxxxxx>
> To: Stanislav Fomichev <sdf@xxxxxxxxxxx>
> To: Mohsin Bashir <mohsin.bashr@xxxxxxxxx>
> To: David Wei <dw@xxxxxxxxxxx>
> Cc: Wei Wang <weibunny@xxxxxx>
> Cc: bpf@xxxxxxxxxxxxxxx
> ---
The fix makes sense to me.
Reviewed-by: Wei Wang <weibunny@xxxxxx>
> tools/testing/selftests/drivers/net/config | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tools/testing/selftests/drivers/net/config b/tools/testing/selftests/drivers/net/config
> index 91d4fd410914..2070e890e064 100644
> --- a/tools/testing/selftests/drivers/net/config
> +++ b/tools/testing/selftests/drivers/net/config
> @@ -4,6 +4,8 @@ CONFIG_DEBUG_INFO_BTF_MODULES=n
> CONFIG_INET_PSP=y
> CONFIG_IPV6=y
> CONFIG_MACSEC=m
> +CONFIG_NET_CLS_ACT=y
> +CONFIG_NET_CLS_BPF=y
> CONFIG_NETCONSOLE=m
> CONFIG_NETCONSOLE_DYNAMIC=y
> CONFIG_NETCONSOLE_EXTENDED_LOG=y
> @@ -11,6 +13,7 @@ CONFIG_NETDEVSIM=m
> CONFIG_NETKIT=y
> CONFIG_NET_SCH_ETF=m
> CONFIG_NET_SCH_FQ=m
> +CONFIG_NET_SCH_INGRESS=y
> CONFIG_PPP=y
> CONFIG_PPPOE=y
> CONFIG_VLAN_8021Q=m
>
> --
> 2.53.0
>