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

2020-12-02 Thread Jason Wang
On 2020/12/2 下午3:16, Yuri Benditovich wrote: On Wed, Dec 2, 2020 at 6:06 AM Jason Wang > wrote: On 2020/12/1 下午3:40, Yuri Benditovich wrote: > > > On Tue, Nov 24, 2020 at 10:49 AM Jason Wang mailto:jasow...@redhat.com> >

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

2020-12-01 Thread Yuri Benditovich
On Wed, Dec 2, 2020 at 6:06 AM Jason Wang wrote: > > On 2020/12/1 下午3:40, Yuri Benditovich wrote: > > > > > > On Tue, Nov 24, 2020 at 10:49 AM Jason Wang > > wrote: > > > > > > On 2020/11/19 下午7:13, Andrew Melnychenko wrote: > > > From: Andrew mailto:and...@da

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

2020-12-01 Thread Jason Wang
On 2020/12/1 下午3:40, Yuri Benditovich wrote: On Tue, Nov 24, 2020 at 10:49 AM Jason Wang > wrote: On 2020/11/19 下午7:13, Andrew Melnychenko wrote: > From: Andrew mailto:and...@daynix.com>> > > When RSS is enabled the device tries to load the eBPF

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

2020-11-30 Thread Yuri Benditovich
On Tue, Nov 24, 2020 at 10:49 AM Jason Wang wrote: > > On 2020/11/19 下午7:13, 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 (wo

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

2020-11-24 Thread Jason Wang
On 2020/11/19 下午7:13, 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 is used as a fallback with

[RFC PATCH v2 4/5] virtio-net: Added eBPF RSS to virtio-net.

2020-11-19 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