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 > > --- > >

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

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

Re: [PATCH v2 0/4] VirtioNet RSS support.

2022-01-18 Thread Andrew Melnichenko
Hi people! Can you review new patches, please? On Sun, Jan 9, 2022 at 11:07 PM Andrew Melnychenko wrote: > > This series of patches add RSS property support for virtio-net-pci. > > Virtio RSS effectively works with TAP devices, it requires additional > vectors for VirtioNet, queues for TAP

Re: [RFC PATCH 00/10] VirtioNet RSS support

2021-10-20 Thread Andrew Melnichenko
> continue your work on it? > > Nikolay > > пн, 16 авг. 2021 г. в 15:00, Andrew Melnichenko : > >> Ping >> >> On Wed, Jul 28, 2021 at 11:17 AM Andrew Melnychenko >> wrote: >> >>> This series of patches add RSS property support for virtio-net

Re: [RFC PATCH 05/10] qemu_capabilities: Added capability for qemu's "ebpf_rss_fds".

2021-08-25 Thread Andrew Melnichenko
Hi, No problem, those patches are RFC. If there would be issues with the libvirt interface - qemu patches should not be applied either. On Fri, Aug 20, 2021 at 3:59 PM Michal Prívozník wrote: > On 8/20/21 2:57 PM, Michal Prívozník wrote: > > On 7/28/21 10:17 AM, Andrew Melnychenko wrote: > >>

Re: [RFC PATCH 01/10] domain_conf: Added configs for RSS and Hash report.

2021-08-25 Thread Andrew Melnichenko
Hi, I'll squash it and add tests. On Fri, Aug 20, 2021 at 3:57 PM Michal Prívozník wrote: > On 7/28/21 10:17 AM, Andrew Melnychenko wrote: > > Added "rss" and "rss_hash_report" configuration that should be used with > > qemu virtio RSS. > > Both options are triswitches. Used as "driver" options

Re: [RFC PATCH 02/10] qemu_capabilities: Added capabilites for qemu's "rss" and "hash".

2021-08-25 Thread Andrew Melnichenko
Hi, Ok, I'll update in RFC v2. On Fri, Aug 20, 2021 at 3:57 PM Michal Prívozník wrote: > On 7/28/21 10:17 AM, Andrew Melnychenko wrote: > > Added qemu's property check for virtio-net. > > And added capability QEMU_CAPS_VIRTIO_RSS. > > With "rss" and "rss_hash_report" from domain config, > >

Re: [RFC PATCH 03/10] qemu_command: Added "rss" and "hash" properties.

2021-08-25 Thread Andrew Melnichenko
Hi, Yea, it is only RFC - later I'll add all tests for review in v2. On Fri, Aug 20, 2021 at 3:57 PM Michal Prívozník wrote: > On 7/28/21 10:17 AM, Andrew Melnychenko wrote: > > If domain config contains "rss" and/or "rss_hash_report" options for > driver. > > Also if the qemu has device

Re: [RFC PATCH 04/10] virsocket: Added receive for multiple fds.

2021-08-25 Thread Andrew Melnichenko
Hi, > virSocketRecvFD() > { > int fds[1]; > > virSocketRecvMultipleFDs(sock, fds, 1, fdflags); > return fds[0]; > } > Yea, it's a good idea. On Fri, Aug 20, 2021 at 3:57 PM Michal Prívozník wrote: > On 7/28/21 10:17 AM, Andrew Melnychenko wrote: > > Similar to virSocketRecvFD() added

Re: [RFC PATCH 06/10] qemu_capabilities: Added capability for ebpf helper path.

2021-08-25 Thread Andrew Melnichenko
Hi, Well, qemu-ebpf-rss-helper is kinda unique for each qemu emulator, that's why it's stored with qemucaps. On Fri, Aug 20, 2021 at 3:57 PM Michal Prívozník wrote: > On 7/28/21 10:17 AM, Andrew Melnychenko wrote: > > Added qmp call to receive helper path. > > Also added monitor functions. > >

Re: [RFC PATCH 00/10] VirtioNet RSS support

2021-08-16 Thread Andrew Melnichenko
Ping On Wed, Jul 28, 2021 at 11:17 AM Andrew Melnychenko wrote: > This series of patches add RSS property support for virtio-net-pci. > > Virtio RSS effectively works with TAP devices, it requires additional > vectors for VirtioNet, queues for TAP device, and vCPU cores. > Example of device