Skip to content

ip_tunnel: add collect_md mode to IPv4/IPv6 tunnels

Alexei Starovoitov netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ip_tunnel: add collect_md mode to IPIP tunnelinclude/net/ip_tunnels.h include/uapi/linux/if_tunnel.h net/ipv4/ip_tunnel.c +1 more+108 -60 replies
2/4ip6_tunnel: add collect_md mode to IPv6 tunnelsinclude/net/ip6_tunnel.h net/ipv6/ip6_tunnel.c+134 -450 replies
3/4samples/bpf: extend test_tunnel_bpf.sh with IPIP testsamples/bpf/tcbpf2_kern.c samples/bpf/test_tunnel_bpf.sh+106 -82 replies
4/4samples/bpf: add comprehensive ipip, ipip6, ip6ip6 testsamples/bpf/tcbpf2_kern.c samples/bpf/test_ipip.sh+310 -00 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchThomas GrafDaniel Borkmann
1/4A-b A-b
2/4A-b A-b
3/4
4/4

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/4] ip_tunnel: add collect_md mode to IPv4/IPv6 tunnels

Similar to geneve, vxlan, gre tunnels implement 'collect metadata' mode in ipip, ipip6, ip6ip6 tunnels.

Alexei Starovoitov (4):
ip_tunnel: add collect_md mode to IPIP tunnel
ip6_tunnel: add collect_md mode to IPv6 tunnels samples/bpf: extend test_tunnel_bpf.sh with IPIP test samples/bpf: add comprehensive ipip, ipip6, ip6ip6 test

 include/net/ip6_tunnel.h       |   1 +
 include/net/ip_tunnels.h       |   2 +
 include/uapi/linux/if_tunnel.h |   1 +
 net/ipv4/ip_tunnel.c           |  76 +++++++++++++++++
 net/ipv4/ipip.c                |  35 ++++++--
 net/ipv6/ip6_tunnel.c          | 178 ++++++++++++++++++++++++++++----------
 samples/bpf/tcbpf2_kern.c      | 190 +++++++++++++++++++++++++++++++++++++++++
 samples/bpf/test_ipip.sh       | 178 ++++++++++++++++++++++++++++++++++++++
 samples/bpf/test_tunnel_bpf.sh |  56 ++++++++++--
 9 files changed, 658 insertions(+), 59 deletions(-)
 create mode 100755 samples/bpf/test_ipip.sh
Signature · 1 line
2.8.0