Re: [RFC PATCH v4 5/7] virtio-net: Added eBPF RSS to virtio-net.

2021-02-08 Thread Daniel P . Berrangé
On Thu, Feb 04, 2021 at 07:09:49PM +0200, Andrew Melnychenko wrote: > From: Andrew > > When RSS is enabled the device tries to load the eBPF program > to select RX virtqueue in the TUN. If eBPF can be loaded > the RSS will function also with vhost (works with kernel 5.8 and later). > Software RSS

[RFC PATCH v4 5/7] virtio-net: Added eBPF RSS to virtio-net.

2021-02-04 Thread Andrew Melnychenko
From: Andrew When RSS is enabled the device tries to load the eBPF program to select RX virtqueue in the TUN. If eBPF can be loaded the RSS will function also with vhost (works with kernel 5.8 and later). Software RSS is used as a fallback with vhost=off when eBPF can't be loaded or when hash pop