Message ID | cover.1680874078.git.cehrig@cloudflare.com (mailing list archive) |
---|---|
Headers | show |
Series | Add FOU support for externally controlled ipip devices | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Fri, 7 Apr 2023 15:38:52 +0200 you wrote: > This patch set adds support for using FOU or GUE encapsulation with > an ipip device operating in collect-metadata mode and a set of kfuncs > for controlling encap parameters exposed to a BPF tc-hook. > > BPF tc-hooks allow us to read tunnel metadata (like remote IP addresses) > in the ingress path of an externally controlled tunnel interface via > the bpf_skb_get_tunnel_{key,opt} bpf-helpers. Packets can then be > redirected to the same or a different externally controlled tunnel > interface by overwriting metadata via the bpf_skb_set_tunnel_{key,opt} > helpers and a call to bpf_redirect. This enables us to redirect packets > between tunnel interfaces - and potentially change the encapsulation > type - using only a single BPF program. > > [...] Here is the summary with links: - [bpf-next,v3,1/3] ipip,ip_tunnel,sit: Add FOU support for externally controlled ipip devices https://git.kernel.org/bpf/bpf-next/c/ac931d4cdec3 - [bpf-next,v3,2/3] bpf,fou: Add bpf_skb_{set,get}_fou_encap kfuncs https://git.kernel.org/bpf/bpf-next/c/c50e96099edb - [bpf-next,v3,3/3] selftests/bpf: Test FOU kfuncs for externally controlled ipip devices https://git.kernel.org/bpf/bpf-next/c/d9688f898c08 You are awesome, thank you!