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)
commit166b5a7f2ca3803ab0a7bb33ac2300e616de2470
tree37ccee00d981c0954ade115056e22577e1bdd63a
parentc695865c5c9803f14eef2c99d8a49d9ad60a3383
selftests_bpf: extend test_tc_tunnel for UDP encap

commit 868d523535c2 ("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