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

2020-11-04 Thread Jason Wang
On 2020/11/4 下午7:07, Yuri Benditovich wrote: On Wed, Nov 4, 2020 at 5:09 AM Jason Wang > wrote: On 2020/11/3 上午2:51, Andrew Melnychenko wrote: > From: Andrew mailto:and...@daynix.com>> > > When RSS is enabled the device tries to load the eBPF pro

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

2020-11-04 Thread Yuri Benditovich
On Wed, Nov 4, 2020 at 1:13 PM Daniel P. Berrangé wrote: > On Wed, Nov 04, 2020 at 01:07:41PM +0200, Yuri Benditovich wrote: > > On Wed, Nov 4, 2020 at 5:09 AM Jason Wang wrote: > > > > > > > > On 2020/11/3 上午2:51, Andrew Melnychenko wrote: > > > > From: Andrew > > > > > > > > When RSS is enabl

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

2020-11-04 Thread Daniel P . Berrangé
On Wed, Nov 04, 2020 at 01:07:41PM +0200, Yuri Benditovich wrote: > On Wed, Nov 4, 2020 at 5:09 AM Jason Wang wrote: > > > > > On 2020/11/3 上午2:51, Andrew Melnychenko wrote: > > > From: Andrew > > > > > > When RSS is enabled the device tries to load the eBPF program > > > to select RX virtqueue

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

2020-11-04 Thread Yuri Benditovich
On Wed, Nov 4, 2020 at 5:09 AM Jason Wang wrote: > > On 2020/11/3 上午2:51, 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

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

2020-11-03 Thread Jason Wang
On 2020/11/3 上午2:51, 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 v