Re: [RFC PATCH 4/4] qemu_command: Added "ebpf_rss_fds" support for virtio-net.

2023-10-09 Thread Andrew Melnichenko
Hi all, On Mon, Oct 9, 2023 at 1:54 PM Peter Krempa wrote: > > On Mon, Oct 09, 2023 at 09:16:14 +0300, Andrew Melnychenko wrote: > > Added logic for loading the "RSS" eBPF program. > > eBPF file descriptors passed to the QEMU. > > > > Signed-off-by: Andrew Melnychenko > > --- > > src/qemu/qemu_

Re: [RFC PATCH 2/4] qemu_capabilities: Added new capability ebpf_rss_fds for QEMU.

2023-10-09 Thread Andrew Melnichenko
Hi all, thank you for your comments. On Mon, Oct 9, 2023 at 12:48 PM Peter Krempa wrote: > > On Mon, Oct 09, 2023 at 09:16:12 +0300, Andrew Melnychenko wrote: > > Also, added logic for retrieving eBPF objects from QEMU. > > eBPF objects stored in the hash table during runtime. > > eBPF objects ca

Re: [RFC PATCH 0/4] Added virtio-net RSS with eBPF support.

2023-10-09 Thread Andrew Melnichenko
Hi all, thank you for your comments. On Mon, Oct 9, 2023 at 11:22 AM Peter Krempa wrote: > > On Mon, Oct 09, 2023 at 10:15:34 +0200, Peter Krempa wrote: > > On Mon, Oct 09, 2023 at 09:16:10 +0300, Andrew Melnychenko wrote: > > > This series of rfc patches adds support for loading the RSS eBPF pro

Fwd: [PATCH v2] lxc: fix lxcContainerMountAllFS() DEREF_BEFORE_CHECK

2023-10-09 Thread Дмитрий Фролов
ping. Перенаправленное сообщение Тема: [PATCH v2] lxc: fix lxcContainerMountAllFS() DEREF_BEFORE_CHECK Дата: Thu, 7 Sep 2023 12:04:57 +0300 От: Dmitry Frolov Кому: libvir-list@redhat.com Копия: Dmitry Frolov vmDef->fss[i]->src->path may be NULL, so check is neede

Re: [RFC PATCH 4/4] qemu_command: Added "ebpf_rss_fds" support for virtio-net.

2023-10-09 Thread Peter Krempa
On Mon, Oct 09, 2023 at 09:16:14 +0300, Andrew Melnychenko wrote: > Added logic for loading the "RSS" eBPF program. > eBPF file descriptors passed to the QEMU. > > Signed-off-by: Andrew Melnychenko > --- > src/qemu/qemu_command.c | 53 + > src/qemu/qemu_do

Re: [RFC PATCH 3/4] qemu_interface: Added routine for loading the eBPF objects.

2023-10-09 Thread Peter Krempa
On Mon, Oct 09, 2023 at 09:16:13 +0300, Andrew Melnychenko wrote: > Also, added dependencies for libbpf with bpf option. > > Signed-off-by: Andrew Melnychenko > --- > meson.build | 6 ++ > meson_options.txt | 1 + > src/qemu/meson.build | 1 + > src/qemu/qemu_in

Re: [RFC PATCH 2/4] qemu_capabilities: Added new capability ebpf_rss_fds for QEMU.

2023-10-09 Thread Peter Krempa
On Mon, Oct 09, 2023 at 09:16:12 +0300, Andrew Melnychenko wrote: > Also, added logic for retrieving eBPF objects from QEMU. > eBPF objects stored in the hash table during runtime. > eBPF objects cached encoded in base64 in the .xml cache file. > > Signed-off-by: Andrew Melnychenko > --- > src/q

Re: [RFC PATCH 1/4] qemu_monitor: Added QEMU's "request-ebpf" support.

2023-10-09 Thread Peter Krempa
On Mon, Oct 09, 2023 at 09:16:11 +0300, Andrew Melnychenko wrote: > Added code for monitor and monitor_json. > The "request-ebpf" return's eBPF binary object encoded in base64. > The function qemuMonitorGetEbpf() returns a decoded blob. > > QEMU provides eBPF that can be loaded and passed to it fr

Re: [RFC PATCH 0/4] Added virtio-net RSS with eBPF support.

2023-10-09 Thread Peter Krempa
On Mon, Oct 09, 2023 at 10:15:34 +0200, Peter Krempa wrote: > On Mon, Oct 09, 2023 at 09:16:10 +0300, Andrew Melnychenko wrote: > > This series of rfc patches adds support for loading the RSS eBPF program > > and passing it to the QEMU. > > Comments and suggestions would be useful. > > > > QEMU w

Re: [RFC PATCH 0/4] Added virtio-net RSS with eBPF support.

2023-10-09 Thread Peter Krempa
On Mon, Oct 09, 2023 at 09:16:10 +0300, Andrew Melnychenko wrote: > This series of rfc patches adds support for loading the RSS eBPF program and > passing it to the QEMU. > Comments and suggestions would be useful. > > QEMU with vhost may work with RSS through eBPF. To load eBPF, > the capabiliti