qemu-devel
[Top][All Lists]
Advanced

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

Re: [RFC net-next 08/18] tun: run offloaded XDP program in Tx path


From: David Miller
Subject: Re: [RFC net-next 08/18] tun: run offloaded XDP program in Tx path
Date: Sun, 01 Dec 2019 12:56:21 -0800 (PST)

From: David Ahern <address@hidden>
Date: Sun, 1 Dec 2019 09:39:54 -0700

> Below you just drop the packet which is going to be a bad user
> experience. A better user experience is to detect XDP return codes a
> program uses, catch those that are not supported for this use case and
> fail the install of the program.

This is not universally possible.

Return codes can be calculated dynamically, come from maps potentially
shared with other bpf programs, etc.

So unfortunately this suggestion is not tenable.



reply via email to

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