[PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-03 Thread Akihiko Odaki
vhost requires eBPF for RSS. When eBPF is not available, virtio-net implicitly disables RSS even if the user explicitly requests it. Return an error instead of implicitly disabling RSS if RSS is requested but not available. Signed-off-by: Akihiko Odaki --- hw/net/virtio-net.c | 97 ++

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-07 Thread Yuri Benditovich
On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki wrote: > > vhost requires eBPF for RSS. When eBPF is not available, virtio-net > implicitly disables RSS even if the user explicitly requests it. Return > an error instead of implicitly disabling RSS if RSS is requested but not > available. > > Signed-o

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-07 Thread Akihiko Odaki
On 2024/04/08 6:46, Yuri Benditovich wrote: On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki wrote: vhost requires eBPF for RSS. When eBPF is not available, virtio-net implicitly disables RSS even if the user explicitly requests it. Return an error instead of implicitly disabling RSS if RSS is req

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-11 Thread Yan Vugenfirer
On Mon, Apr 8, 2024 at 4:31 AM Akihiko Odaki wrote: > > On 2024/04/08 6:46, Yuri Benditovich wrote: > > On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki > > wrote: > >> > >> vhost requires eBPF for RSS. When eBPF is not available, virtio-net > >> implicitly disables RSS even if the user explicitly r

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-15 Thread Yuri Benditovich
On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki wrote: > > vhost requires eBPF for RSS. When eBPF is not available, virtio-net > implicitly disables RSS even if the user explicitly requests it. Return > an error instead of implicitly disabling RSS if RSS is requested but not > available. > > Signed-o

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-15 Thread Jason Wang
On Mon, Apr 15, 2024 at 10:05 PM Yuri Benditovich wrote: > > On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki wrote: > > > > vhost requires eBPF for RSS. When eBPF is not available, virtio-net > > implicitly disables RSS even if the user explicitly requests it. Return > > an error instead of implicit

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-15 Thread Yuri Benditovich
On Tue, Apr 16, 2024 at 7:00 AM Jason Wang wrote: > > On Mon, Apr 15, 2024 at 10:05 PM Yuri Benditovich > wrote: > > > > On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki > > wrote: > > > > > > vhost requires eBPF for RSS. When eBPF is not available, virtio-net > > > implicitly disables RSS even if

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-15 Thread Akihiko Odaki
On 2024/04/16 13:00, Jason Wang wrote: On Mon, Apr 15, 2024 at 10:05 PM Yuri Benditovich wrote: On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki wrote: vhost requires eBPF for RSS. When eBPF is not available, virtio-net implicitly disables RSS even if the user explicitly requests it. Return an

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-16 Thread Jason Wang
On Tue, Apr 16, 2024 at 1:43 PM Yuri Benditovich wrote: > > On Tue, Apr 16, 2024 at 7:00 AM Jason Wang wrote: > > > > On Mon, Apr 15, 2024 at 10:05 PM Yuri Benditovich > > wrote: > > > > > > On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki > > > wrote: > > > > > > > > vhost requires eBPF for RSS.

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-16 Thread Yuri Benditovich
On Tue, Apr 16, 2024 at 10:14 AM Jason Wang wrote: > > On Tue, Apr 16, 2024 at 1:43 PM Yuri Benditovich > wrote: > > > > On Tue, Apr 16, 2024 at 7:00 AM Jason Wang wrote: > > > > > > On Mon, Apr 15, 2024 at 10:05 PM Yuri Benditovich > > > wrote: > > > > > > > > On Wed, Apr 3, 2024 at 2:11 PM Ak

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-16 Thread Yuri Benditovich
On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki wrote: > > vhost requires eBPF for RSS. When eBPF is not available, virtio-net > implicitly disables RSS even if the user explicitly requests it. Return > an error instead of implicitly disabling RSS if RSS is requested but not > available. > > Signed-o

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-16 Thread Jason Wang
On Tue, Apr 16, 2024 at 5:51 PM Yuri Benditovich wrote: > > On Tue, Apr 16, 2024 at 10:14 AM Jason Wang wrote: > > > > On Tue, Apr 16, 2024 at 1:43 PM Yuri Benditovich > > wrote: > > > > > > On Tue, Apr 16, 2024 at 7:00 AM Jason Wang wrote: > > > > > > > > On Mon, Apr 15, 2024 at 10:05 PM Yuri

Re: [PATCH v9 13/20] virtio-net: Return an error when vhost cannot enable RSS

2024-04-20 Thread Yuri Benditovich
On Tue, Apr 16, 2024 at 9:54 AM Akihiko Odaki wrote: > > On 2024/04/16 13:00, Jason Wang wrote: > > On Mon, Apr 15, 2024 at 10:05 PM Yuri Benditovich > > wrote: > >> > >> On Wed, Apr 3, 2024 at 2:11 PM Akihiko Odaki > >> wrote: > >>> > >>> vhost requires eBPF for RSS. When eBPF is not available