[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/6] ebpf: Added eBPF map update through mmap.
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH v3 1/6] ebpf: Added eBPF map update through mmap. |
Date: |
Wed, 21 Jun 2023 08:58:20 +0100 |
User-agent: |
Mutt/2.2.9 (2022-11-12) |
On Thu, Jun 15, 2023 at 01:10:21AM +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 v3 0/6] eBPF RSS through QMP support., Andrew Melnychenko, 2023/06/14
- [PATCH v3 1/6] ebpf: Added eBPF map update through mmap., Andrew Melnychenko, 2023/06/14
- Re: [PATCH v3 1/6] ebpf: Added eBPF map update through mmap.,
Daniel P . Berrangé <=
- [PATCH v3 2/6] ebpf: Added eBPF initialization by fds., Andrew Melnychenko, 2023/06/14
- [PATCH v3 3/6] virtio-net: Added property to load eBPF RSS with fds., Andrew Melnychenko, 2023/06/14
- [PATCH v3 5/6] qmp: Added new command to retrieve eBPF blob., Andrew Melnychenko, 2023/06/14
- [PATCH v3 4/6] ebpf: Added declaration/initialization routines., Andrew Melnychenko, 2023/06/14
- [PATCH v3 6/6] ebpf: Updated eBPF program and skeleton., Andrew Melnychenko, 2023/06/14