On Mon, Jun 30, 2025 at 6:35 AM Viktor Malik <vmalik@xxxxxxxxxx> wrote: > > BPF selftests compilation fails on systems with CONFIG_NET_SCH_BPF=n. > The reason is that qdisc-related kfuncs are included via vmlinux.h but > when qdisc is disabled, they are not defined and do not appear in > vmlinux.h. Yes and that's expected behavior. It's not a bug. That's why we have CONFIG_NET_SCH_BPF=y in selftests/bpf/config and CI picks it up automatically. If we add these kfuncs to bpf_qdisc_common.h where would we draw the line when the kfuncs should be added or not ? Currently we don't add any new kfuncs, since they all should be in vmlinux.h -- pw-bot: cr