]> git.baikalelectronics.ru Git - kernel.git/commit
selftests_bpf: extend test_tc_tunnel for UDP encap
authorAlan Maguire <alan.maguire@oracle.com>
Tue, 9 Apr 2019 14:06:40 +0000 (15:06 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 11 Apr 2019 20:50:56 +0000 (22:50 +0200)
commitcae0b16ac7810543f792b5b11bc93526a537b69f
tree37ccee00d981c0954ade115056e22577e1bdd63a
parente8c506197a90c42182a3b7fa0f6d71e237bc149f
selftests_bpf: extend test_tc_tunnel for UDP encap

commit b3119a1249ec ("bpf: add bpf_skb_adjust_room encap flags")
introduced support to bpf_skb_adjust_room for GSO-friendly GRE
and UDP encapsulation and later introduced associated test_tc_tunnel
tests.  Here those tests are extended to cover UDP encapsulation also.

Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/config
tools/testing/selftests/bpf/progs/test_tc_tunnel.c
tools/testing/selftests/bpf/test_tc_tunnel.sh