Re: [PATCH v2 3/6] virtio-net: Added property to load eBPF RSS with fds.

2023-05-16 Thread Eric Blake
On Mon, May 15, 2023 at 10:38:44AM +0100, Daniel P. Berrangé wrote: > > > -static bool virtio_net_load_ebpf(VirtIONet *n) > > +static bool virtio_net_load_ebpf_fds(VirtIONet *n, Error **errp) > > { > > -if (!virtio_net_attach_ebpf_to_backend(n->nic, -1)) { > > -/* backend does't sup

Re: [PATCH v2 3/6] virtio-net: Added property to load eBPF RSS with fds.

2023-05-15 Thread Andrew Melnichenko
Hi all, On Mon, May 15, 2023 at 12:38 PM Daniel P. Berrangé wrote: > > On Fri, May 12, 2023 at 03:28:59PM +0300, Andrew Melnychenko wrote: > > eBPF RSS program and maps may now be passed during initialization. > > Initially was implemented for libvirt to launch qemu without permissions, > > and i

Re: [PATCH v2 3/6] virtio-net: Added property to load eBPF RSS with fds.

2023-05-15 Thread Daniel P . Berrangé
On Fri, May 12, 2023 at 03:28:59PM +0300, Andrew Melnychenko wrote: > eBPF RSS program and maps may now be passed during initialization. > Initially was implemented for libvirt to launch qemu without permissions, > and initialized eBPF program through the helper. > > Signed-off-by: Andrew Melnyche

[PATCH v2 3/6] virtio-net: Added property to load eBPF RSS with fds.

2023-05-12 Thread Andrew Melnychenko
eBPF RSS program and maps may now be passed during initialization. Initially was implemented for libvirt to launch qemu without permissions, and initialized eBPF program through the helper. Signed-off-by: Andrew Melnychenko --- hw/net/virtio-net.c| 55 ++--