RSS eBPF failed to load Description of problem: I am seeing a failure to load the eBPF program for rss steering. Steps to reproduce: 1. Using libvirt, enable rss='on' for the vhost driver. 2. 3. Additional information: Libvirt log: ``` libbpf: prog 'tun_rss_steering_prog': BPF program load failed: Invalid argument libbpf: prog 'tun_rss_steering_prog': -- BEGIN PROG LOAD LOG -- back-edge from insn 587 to 501 processed 0 insns (limit 1000000) max_states_per_insn 0 total_states 0 peak_states 0 mark_read 0 -- END PROG LOAD LOG -- libbpf: prog 'tun_rss_steering_prog': failed to load: -22 libbpf: failed to load object 'rss_bpf' libbpf: failed to load BPF skeleton 'rss_bpf': -22 2025-04-26T09:22:19.054471Z qemu-system-x86_64: -device {"driver":"virtio-net-pci","packed":true,"tx":"bh","ioeventfd":true,"event_idx":true,"host_ecn":true,"mrg_rxbuf":true,"guest_ecn":true,"mq":true,"vectors":14,"rx_queue_size":1024,"tx_queue_size":256,"rss":true,"netdev":"hostnet0","id":"net0","mac":"52:54:00:c3:6f:c2","bus":"pci.1","addr":"0x0"}: warning: Unable to load eBPF program ``` [qemu-log.txt](/uploads/2d5e49a38a54297586a4b1f16423fc27/qemu-log.txt) XML: ```xml
``` Host kernel .config: ``` ❯ zcat /proc/config.gz |grep -i bpf CONFIG_BPF=y CONFIG_HAVE_EBPF_JIT=y CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y # BPF subsystem CONFIG_BPF_SYSCALL=y CONFIG_BPF_JIT=y CONFIG_BPF_JIT_ALWAYS_ON=y CONFIG_BPF_JIT_DEFAULT_ON=y CONFIG_BPF_UNPRIV_DEFAULT_OFF=y # CONFIG_BPF_PRELOAD is not set # CONFIG_BPF_LSM is not set # end of BPF subsystem CONFIG_CGROUP_BPF=y CONFIG_NETFILTER_BPF_LINK=y CONFIG_NETFILTER_XT_MATCH_BPF=m CONFIG_NET_CLS_BPF=m CONFIG_NET_ACT_BPF=m CONFIG_BPF_STREAM_PARSER=y CONFIG_LWTUNNEL_BPF=y # HID-BPF support CONFIG_HID_BPF=y # end of HID-BPF support CONFIG_BPF_EVENTS=y ```