On 04/23/2019 08:43 PM, Willem de Bruijn wrote: > From: Willem de Bruijn <will...@google.com> > > Expand the tc tunnel encap support with protocols that convert the > network layer protocol, such as 6in4. This is analogous to existing > support in bpf_skb_proto_6_to_4. > > Patch 1 implements the straightforward logic > Patch 2 tests it with a 6in4 tunnel > > Changes v1->v2 > - improve documentation in test > > Willem de Bruijn (2): > bpf: update skb->protocol in bpf_skb_net_grow > selftests/bpf: expand test_tc_tunnel with SIT encap > > net/core/filter.c | 8 +++ > tools/testing/selftests/bpf/config | 1 + > .../selftests/bpf/progs/test_tc_tunnel.c | 64 +++++++++++++++++-- > tools/testing/selftests/bpf/test_tc_tunnel.sh | 20 +++++- > 4 files changed, 88 insertions(+), 5 deletions(-) >
Applied, thanks!