qemu/ebpf
Shreesh Adiga 197a137290 ebpf: fix compatibility with libbpf 1.0+
The current implementation fails to load on a system with
libbpf 1.0 and reports that legacy map definitions in 'maps'
section are not supported by libbpf v1.0+. This commit updates
the Makefile to add BTF (-g flag) and appropriately updates
the maps in rss.bpf.c and update the skeleton file in repo.

Signed-off-by: Shreesh Adiga <16567adigashreesh@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2023-03-10 17:26:47 +08:00
..
ebpf_rss-stub.c ebpf: Added eBPF RSS loader. 2021-06-04 15:25:46 +08:00
ebpf_rss.c ebpf: replace deprecated bpf_program__set_socket_filter 2022-07-06 11:39:09 +08:00
ebpf_rss.h ebpf: Added eBPF RSS loader. 2021-06-04 15:25:46 +08:00
meson.build ebpf: only include in system emulators 2021-09-17 16:07:52 +08:00
rss.bpf.skeleton.h ebpf: fix compatibility with libbpf 1.0+ 2023-03-10 17:26:47 +08:00
trace-events ebpf: Added eBPF RSS loader. 2021-06-04 15:25:46 +08:00
trace.h ebpf: Added eBPF RSS loader. 2021-06-04 15:25:46 +08:00