netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] add ip6 gre and gretap collect_md mode
@ 2017-12-01 23:26 William Tu
  2017-12-01 23:26 ` [PATCH net-next 1/3] ip6_gre: " William Tu
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: William Tu @ 2017-12-01 23:26 UTC (permalink / raw)
  To: netdev

Similar to gre, vxlan, geneve, ipip tunnels, allow ip6gretap tunnels to
operate in collect metadata mode.  The first patch adds the support to
ip6_gre.c. The second patch enables unsetting the csum for ipv6 tunnel,
when using bpf_skb_[gs]et_tunnel_key() helpers.  Finally, the last patch
adds the ip6 gre and gretap tunnel test cases to BPF sample code.

The corresponding iproute2 patch:
https://marc.info/?l=linux-netdev&m=151216943128087&w=2

William Tu (3):
  ip6_gre: add ip6 gre and gretap collect_md mode
  bpf: allow disabling tunnel csum for ipv6
  samples/bpf: extend test_tunnel_bpf.sh with ip6gre

 net/core/filter.c              |   5 +-
 net/ipv6/ip6_gre.c             | 105 +++++++++++++++++++++++++++++++++++++----
 net/ipv6/ip6_tunnel.c          |   5 +-
 samples/bpf/tcbpf2_kern.c      |  43 +++++++++++++++++
 samples/bpf/test_tunnel_bpf.sh |  65 +++++++++++++++++++++++++
 5 files changed, 210 insertions(+), 13 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2017-12-04 16:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-01 23:26 [PATCH net-next 0/3] add ip6 gre and gretap collect_md mode William Tu
2017-12-01 23:26 ` [PATCH net-next 1/3] ip6_gre: " William Tu
2017-12-01 23:26 ` [PATCH net-next 2/3] bpf: allow disabling tunnel csum for ipv6 William Tu
2017-12-04  8:33   ` Daniel Borkmann
2017-12-01 23:26 ` [PATCH net-next 3/3] samples/bpf: extend test_tunnel_bpf.sh with ip6gre William Tu
2017-12-04 16:11 ` [PATCH net-next 0/3] add ip6 gre and gretap collect_md mode David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).