All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] update skb->protocol in bpf_skb_net_grow
@ 2019-04-22 14:50 Willem de Bruijn
  2019-04-22 14:50 ` [PATCH bpf-next 1/2] bpf: " Willem de Bruijn
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Willem de Bruijn @ 2019-04-22 14:50 UTC (permalink / raw)
  To: netdev; +Cc: ast, daniel, alan.maguire, Willem de Bruijn

From: Willem de Bruijn <willemb@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

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      | 55 +++++++++++++++++--
 tools/testing/selftests/bpf/test_tc_tunnel.sh | 20 ++++++-
 4 files changed, 79 insertions(+), 5 deletions(-)

-- 
2.21.0.593.g511ec345e18-goog


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-04-23 11:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-22 14:50 [PATCH bpf-next 0/2] update skb->protocol in bpf_skb_net_grow Willem de Bruijn
2019-04-22 14:50 ` [PATCH bpf-next 1/2] bpf: " Willem de Bruijn
2019-04-22 23:35   ` Y Song
2019-04-22 14:50 ` [PATCH bpf-next 2/2] selftests/bpf: expand test_tc_tunnel with SIT encap Willem de Bruijn
2019-04-22 23:40   ` Y Song
2019-04-22 23:47     ` Willem de Bruijn
2019-04-22 23:56       ` Y Song
2019-04-23 11:04 ` [PATCH bpf-next 0/2] update skb->protocol in bpf_skb_net_grow Alan Maguire

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.