qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 5/7] hw/net: report errors from failing to use eBPF RSS FD


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 5/7] hw/net: report errors from failing to use eBPF RSS FDs
Date: Fri, 6 Sep 2024 12:09:42 +0200
User-agent: Mozilla Thunderbird

On 5/9/24 20:13, Daniel P. Berrangé wrote:
If the user/mgmt app passed in a set of pre-opened FDs for eBPF RSS,
then it is expecting QEMU to use them. Any failure to do so must be
considered a fatal error and propagated back up the stack, otherwise
deployment mistakes will not be detectable in a prompt manner. When
not using pre-opened FDs, then eBPF RSS is tried on a "best effort"
basis only and thus fallback to software RSS is valid.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---
  hw/net/virtio-net.c | 41 +++++++++++++++++++++++++++++------------
  1 file changed, 29 insertions(+), 12 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]