]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: drv-net: add missing tc config options for netkit tests
authorBobby Eshleman <bobbyeshleman@meta.com>
Tue, 24 Mar 2026 00:08:10 +0000 (17:08 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Mar 2026 03:59:40 +0000 (20:59 -0700)
commit112f4c6320070b19e7d49cba758400adc279e377
tree8f41699296bf2b258e04f884d21cc7e9daae7040
parent864ee4eed2d8f9f713e5c2ec5c4ec960d04f7b41
selftests: drv-net: add missing tc config options for netkit tests

The NetDrvContEnv env context uses tc clsact qdiscs and BPF tc filters
for traffic redirection, but the kernel config options are missing from
the selftests config.

Without them, the tc qdisc installation trips on:

  CMD: tc qdisc add dev enp1s0 clsact
    EXIT: 2
    STDERR: Error: Specified qdisc kind is unknown.

  net.lib.py.utils.CmdExitFailure: Command failed

Add CONFIG_NET_CLS_ACT and CONFIG_NET_SCH_INGRESS to enable these tc
options.

Fixes: 3f74d5bb807e ("selftests/net: Add env for container based tests")
Signed-off-by: Bobby Eshleman <bobbyeshleman@meta.com>
Link: https://patch.msgid.link/20260323-config-fixes-for-nk-tests-v2-1-6c505d83e52d@meta.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/hw/config