Re: [PATCH v8 1/5] ebpf: Added eBPF map update through mmap.

2024-02-05 Thread Andrew Melnichenko
Hi all, I'll revert the license changes and leave SPDX ids only for new files. On Tue, Jan 30, 2024 at 12:38 PM Daniel P. Berrangé wrote: > > On Thu, Jan 25, 2024 at 03:06:50PM +0200, Andrew Melnychenko wrote: > > Changed eBPF map updates through mmaped array. > > Mmaped arrays provide direct acc

Re: [PATCH v8 1/5] ebpf: Added eBPF map update through mmap.

2024-01-30 Thread Daniel P . Berrangé
On Thu, Jan 25, 2024 at 03:06:50PM +0200, Andrew Melnychenko wrote: > 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: Andre

[PATCH v8 1/5] ebpf: Added eBPF map update through mmap.

2024-01-25 Thread Andrew Melnychenko
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 --- ebpf/ebpf_rss.c | 120 ++