]> 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)
commitaf21fde0bbb13a67bcce87c770384807c9328a42
tree37ccee00d981c0954ade115056e22577e1bdd63a
parent9f91f4d26cfb3153fa3ab4477468cb09274c8fb7
selftests_bpf: extend test_tc_tunnel for UDP encap

commit e8ff86a1e004 ("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