Skip to content
Commit d9688f89 authored by Christian Ehrig's avatar Christian Ehrig Committed by Alexei Starovoitov
Browse files

selftests/bpf: Test FOU kfuncs for externally controlled ipip devices



Add tests for FOU and GUE encapsulation via the bpf_skb_{set,get}_fou_encap
kfuncs, using ipip devices in collect-metadata mode.

These tests make sure that we can successfully set and obtain FOU and GUE
encap parameters using ingress / egress BPF tc-hooks.

Signed-off-by: default avatarChristian Ehrig <cehrig@cloudflare.com>
Link: https://lore.kernel.org/r/040193566ddbdb0b53eb359f7ac7bbd316f338b5.1680874078.git.cehrig@cloudflare.com


Signed-off-by: default avatarAlexei Starovoitov <ast@kernel.org>
parent c50e9609
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment