Re: [PATCH bpf-next v6 0/5] xdp: Allow lookup into devmaps before redirect

2019-06-28 Thread Daniel Borkmann
On 06/28/2019 11:12 AM, Toke Høiland-Jørgensen wrote: > When using the bpf_redirect_map() helper to redirect packets from XDP, the > eBPF > program cannot currently know whether the redirect will succeed, which makes > it > impossible to gracefully handle errors. To properly fix this will probabl

[PATCH bpf-next v6 0/5] xdp: Allow lookup into devmaps before redirect

2019-06-28 Thread Toke Høiland-Jørgensen
When using the bpf_redirect_map() helper to redirect packets from XDP, the eBPF program cannot currently know whether the redirect will succeed, which makes it impossible to gracefully handle errors. To properly fix this will probably require deeper changes to the way TX resources are allocated, bu