Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Bobby Eshleman and committed by
Jakub Kicinski
112f4c63 864ee4ee

+2
+2
tools/testing/selftests/drivers/net/hw/config
··· 6 6 CONFIG_IO_URING=y 7 7 CONFIG_IPV6=y 8 8 CONFIG_IPV6_GRE=y 9 + CONFIG_NET_CLS_ACT=y 9 10 CONFIG_NET_CLS_BPF=y 10 11 CONFIG_NET_IPGRE=y 11 12 CONFIG_NET_IPGRE_DEMUX=y 12 13 CONFIG_NETKIT=y 14 + CONFIG_NET_SCH_INGRESS=y 13 15 CONFIG_UDMABUF=y 14 16 CONFIG_VXLAN=y