Skip to content

add ip6 gre and gretap collect_md mode

William Tu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ip6_gre: add ip6 gre and gretap collect_md modenet/ipv6/ip6_gre.c net/ipv6/ip6_tunnel.c+99 -110 replies
2/3bpf: allow disabling tunnel csum for ipv6net/core/filter.c+3 -21 reply
3/3samples/bpf: extend test_tunnel_bpf.sh with ip6gresamples/bpf/tcbpf2_kern.c samples/bpf/test_tunnel_bpf.sh+108 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchDaniel Borkmann
1/3
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] add ip6 gre and gretap collect_md mode

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(-)
Signature · 1 line
2.7.4