[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 1/5] ebpf: Added eBPF map update through mmap.
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v6 1/5] ebpf: Added eBPF map update through mmap. |
Date: |
Wed, 30 Aug 2023 14:21:39 +0100 |
User-agent: |
Mutt/2.2.9 (2022-11-12) |
On Wed, Aug 09, 2023 at 02:30:11AM +0300, 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: Andrew Melnychenko <andrew@daynix.com>
> ---
> ebpf/ebpf_rss.c | 117 ++++++++++++++++++++++++++++++++++++++----------
> ebpf/ebpf_rss.h | 5 +++
> 2 files changed, 99 insertions(+), 23 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
With regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH v6 0/5] eBPF RSS through QMP support., Andrew Melnychenko, 2023/08/08
- [PATCH v6 1/5] ebpf: Added eBPF map update through mmap., Andrew Melnychenko, 2023/08/08
- Re: [PATCH v6 1/5] ebpf: Added eBPF map update through mmap.,
Daniel P . Berrangé <=
- [PATCH v6 2/5] ebpf: Added eBPF initialization by fds., Andrew Melnychenko, 2023/08/08
- [PATCH v6 3/5] virtio-net: Added property to load eBPF RSS with fds., Andrew Melnychenko, 2023/08/08
- [PATCH v6 4/5] qmp: Added new command to retrieve eBPF blob., Andrew Melnychenko, 2023/08/08
- [PATCH v6 5/5] ebpf: Updated eBPF program and skeleton., Andrew Melnychenko, 2023/08/08