Re: [PATCH v5 11/21] virtio-net: Return an error when vhost cannot enable RSS

2023-10-29 Thread Jason Wang
在 2023/10/27 15:54, Akihiko Odaki 写道: On 2023/10/27 16:07, Jason Wang wrote: On Tue, Oct 17, 2023 at 12:10 PM Akihiko Odaki wrote: vhost requires eBPF for RSS. Even when eBPF is not available, virtio-net reported RSS availability, and raised a warning only after the guest requested RSS, a

Re: [PATCH v5 11/21] virtio-net: Return an error when vhost cannot enable RSS

2023-10-29 Thread Yuri Benditovich
On Tue, Oct 17, 2023 at 7:10 AM Akihiko Odaki wrote: > vhost requires eBPF for RSS. Even when eBPF is not available, virtio-net > reported RSS availability, and raised a warning only after the > guest requested RSS, and the guest could not know that RSS is not > available. > > The existing code s

Re: [PATCH v5 11/21] virtio-net: Return an error when vhost cannot enable RSS

2023-10-27 Thread Akihiko Odaki
On 2023/10/27 16:07, Jason Wang wrote: On Tue, Oct 17, 2023 at 12:10 PM Akihiko Odaki wrote: vhost requires eBPF for RSS. Even when eBPF is not available, virtio-net reported RSS availability, and raised a warning only after the guest requested RSS, and the guest could not know that RSS is not

Re: [PATCH v5 11/21] virtio-net: Return an error when vhost cannot enable RSS

2023-10-27 Thread Jason Wang
On Tue, Oct 17, 2023 at 12:10 PM Akihiko Odaki wrote: > > vhost requires eBPF for RSS. Even when eBPF is not available, virtio-net > reported RSS availability, and raised a warning only after the > guest requested RSS, and the guest could not know that RSS is not > available. > > Check RSS availab

[PATCH v5 11/21] virtio-net: Return an error when vhost cannot enable RSS

2023-10-16 Thread Akihiko Odaki
vhost requires eBPF for RSS. Even when eBPF is not available, virtio-net reported RSS availability, and raised a warning only after the guest requested RSS, and the guest could not know that RSS is not available. Check RSS availability during device realization and return an error if RSS is reques