summary refs log tree commit diff stats
path: root/results/classifier/105/other/2934
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/105/other/2934')
-rw-r--r--results/classifier/105/other/293477
1 files changed, 77 insertions, 0 deletions
diff --git a/results/classifier/105/other/2934 b/results/classifier/105/other/2934
new file mode 100644
index 00000000..4bf9bdbb
--- /dev/null
+++ b/results/classifier/105/other/2934
@@ -0,0 +1,77 @@
+mistranslation: 0.945
+other: 0.942
+semantic: 0.931
+device: 0.929
+KVM: 0.928
+socket: 0.928
+network: 0.928
+graphic: 0.926
+assembly: 0.926
+instruction: 0.924
+vnc: 0.918
+boot: 0.902
+
+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
+   <interface type='bridge'>
+      <mac address='52:54:00:be:49:ff'/>
+      <source bridge='inet'/>
+      <model type='virtio'/>
+      <driver name='vhost' txmode='iothread' ioeventfd='on' event_idx='on' queues='6' rx_queue_size='1024' tx_queue_size='256' rss='on' packed='on'>
+        <host ecn='on' mrg_rxbuf='on'/>
+        <guest ecn='on'/>
+      </driver>
+      <link state='up'/>
+      <address type='pci' domain='0x0000' bus='0x08' slot='0x00' function='0x0'/>
+    </interface>
+```
+
+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
+```