aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/Makefile
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2022-05-10 10:49:03 -0700
committerAlexei Starovoitov <ast@kernel.org>2022-05-10 10:49:17 -0700
commitc4423a174d2926c1c165176d17383631d75dfbec (patch)
tree9c0163961af3d8cdf0e122131f9cb4afc37e90e1 /kernel/bpf/Makefile
parentbd2331b3757f5b2ab4aafc591b55fa2a592abf7c (diff)
parent71b2ec21c3313e4cea38d5a6b009e99df30e540a (diff)
downloadlinux-c4423a174d2926c1c165176d17383631d75dfbec.tar.gz
Merge branch 'Add source ip in bpf tunnel key'
Kaixi Fan says: ==================== From: Kaixi Fan <fankaixi.li@bytedance.com> Now bpf code could not set tunnel source ip address of ip tunnel. So it could not support flow based tunnel mode completely. Because flow based tunnel mode could set tunnel source, destination ip address and tunnel key simultaneously. Flow based tunnel is useful for overlay networks. And by configuring tunnel source ip address, user could make their networks more elastic. For example, tunnel source ip could be used to select different egress nic interface for different flows with same tunnel destination ip. Another example, user could choose one of multiple ip address of the egress nic interface as the packet's tunnel source ip. Add tunnel and tunnel source testcases in test_progs. Other types of tunnel testcases would be moved to test_progs step by step in the future. v6: - use libbpf api to attach tc progs and remove some shell commands to reduce test runtime based on Alexei Starovoitov's suggestion v5: - fix some code format errors - use bpf kernel code at namespace at_ns0 to set tunnel metadata v4: - fix subject error of first patch v3: - move vxlan tunnel testcases to test_progs - replace bpf_trace_printk with bpf_printk - rename bpf kernel prog section name to tic v2: - merge vxlan tunnel and tunnel source ip testcases in test_tunnel.sh ==================== Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/Makefile')
0 files changed, 0 insertions, 0 deletions