selftests_bpf: extend test_tc_tunnel for UDP encap

commit 868d523535 ("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>
This commit is contained in:
Alan Maguire 2019-04-09 15:06:40 +01:00 • committed by Daniel Borkmann
commit 166b5a7f2c
3 changed files with 143 additions and 48 deletions