Re: [PATCH v3 net-next 0/4] bpf: BPF for lightweight tunnel encapsulation

2016-11-29 Thread Thomas Graf
Hi Hannes, On 11/29/16 at 03:15pm, Hannes Frederic Sowa wrote: > Did you look at the cgroup based hooks which were added recently in > ip_finish_output for cgroup ebpf support and in general the cgroup bpf > subsystem. Does some of this solve the problem for you already? Would be > interesting to

Re: [PATCH v3 net-next 0/4] bpf: BPF for lightweight tunnel encapsulation

2016-11-29 Thread Hannes Frederic Sowa
Hi Thomas, On 29.11.2016 14:21, Thomas Graf wrote: > This series implements BPF program invocation from dst entries via the > lightweight tunnels infrastructure. The BPF program can be attached to > lwtunnel_input(), lwtunnel_output() or lwtunnel_xmit() and see an L3 > skb as context. Programs

[PATCH v3 net-next 0/4] bpf: BPF for lightweight tunnel encapsulation

2016-11-29 Thread Thomas Graf
This series implements BPF program invocation from dst entries via the lightweight tunnels infrastructure. The BPF program can be attached to lwtunnel_input(), lwtunnel_output() or lwtunnel_xmit() and see an L3 skb as context. Programs attached to input and output are read-only. Programs attached