[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190423184349.544-1-willemdebruijn.kernel@gmail.com>
Date:   Tue, 23 Apr 2019 14:43:47 -0400
From:   Willem de Bruijn <willemdebruijn.kernel@...il.com>
To:     netdev@...r.kernel.org
Cc:     ast@...nel.org, daniel@...earbox.net, alan.maguire@...cle.com,
        yhs@...com, Willem de Bruijn <willemb@...gle.com>
Subject: [PATCH bpf-next v2 0/2] update skb->protocol in bpf_skb_net_grow
From: Willem de Bruijn <willemb@...gle.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(-)
-- 
2.21.0.593.g511ec345e18-goog
Powered by blists - more mailing lists
 
