]> git.proxmox.com Git - mirror_qemu.git/commit
ebpf: Added eBPF map update through mmap.
authorAndrew Melnychenko <andrew@daynix.com>
Mon, 5 Feb 2024 16:54:31 +0000 (18:54 +0200)
committerJason Wang <jasowang@redhat.com>
Tue, 12 Mar 2024 11:31:46 +0000 (19:31 +0800)
commit333b3e5fab751cce9f077b827563296c797ff399
treeb42d08780966ade3a28f80b7e468cc52e38e92b3
parent6a5287ce80470bb8df95901d73ee779a64e70c3a
ebpf: Added eBPF map update through mmap.

Changed eBPF map updates through mmaped array.
Mmaped arrays provide direct access to map data.
It should omit using bpf_map_update_elem() call,
which may require capabilities that are not present.

Signed-off-by: Andrew Melnychenko <andrew@daynix.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
ebpf/ebpf_rss.c
ebpf/ebpf_rss.h