Skip to content

lwtunnel: per route ipv6 support for vxlan

Jiri Benc netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 1 replyIn review
  2. v213 patches 21 repliesSuperseded
  3. v113 patches 5 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13ip_tunnels: remove custom alignment and packinginclude/net/ip_tunnels.h+1 -10 replies
2/13ip_tunnels: use u8/u16/u32include/net/ip_tunnels.h+8 -80 replies
3/13ip_tunnels: use offsetofendinclude/net/ip_tunnels.h+1 -30 replies
4/13ip_tunnels: add IPv6 addresses to ip_tunnel_keydrivers/net/vxlan.c include/net/ip_tunnels.h net/core/filter.c +7 more+48 -320 replies
5/13ip_tunnels: use tos and ttl fields also for IPv6drivers/net/vxlan.c include/net/ip_tunnels.h net/ipv4/ip_gre.c +5 more+26 -260 replies
6/13route: move lwtunnel state to dst_entrydrivers/net/vrf.c drivers/net/vxlan.c include/net/dst.h +14 more+48 -1300 replies
7/13ipv6: drop metadata dst in ip6_route_inputnet/ipv6/route.c+1 -00 replies
8/13ipv6: ndisc: inherit metadata dst when creating ndisc requestsinclude/net/ndisc.h net/ipv6/addrconf.c net/ipv6/ndisc.c +1 more+11 -60 replies
9/13vxlan: provide access function for vxlan socket address familydrivers/net/vxlan.c include/net/vxlan.h+9 -40 replies
10/13vxlan: do not shadow flags variabledrivers/net/vxlan.c+4 -40 replies
11/13vxlan: metadata based tunneling for IPv6drivers/net/vxlan.c+40 -290 replies
12/13ipv6: route: extend flow representation with tunnel keyinclude/net/flow.h net/ipv6/route.c+7 -00 replies
13/13ipv6: route: per route IP tunnel metadata via lightweight tunnelinclude/uapi/linux/lwtunnel.h net/ipv4/ip_tunnel_core.c+118 -00 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchThomas GrafAlexei StarovoitovRoopa Prabhu
1/13A-b
2/13A-b
3/13A-b
4/13A-b A-b
5/13A-b
6/13A-b A-b
7/13A-b
8/13A-b
9/13A-b
10/13A-b
11/13A-b A-b
12/13A-b
13/13A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 net-next 00/13] lwtunnel: per route ipv6 support for vxlan

v3: Moved LWTUNNEL_ENCAP_IP6 definition in patch 13.
v2: Fixed issues in patch 4 pointed out by Alexei.

This series enables IPv6 tunnels based on lwtunnel infrastructure. Only vxlan is supported for now.

Tested in all combinations of IPv4 over IPv6, IPv6 over IPv4 and IPv6 over IPv6.

Jiri Benc (13):
ip_tunnels: remove custom alignment and packing
ip_tunnels: use u8/u16/u32
ip_tunnels: use offsetofend
ip_tunnels: add IPv6 addresses to ip_tunnel_key
ip_tunnels: use tos and ttl fields also for IPv6
route: move lwtunnel state to dst_entry
ipv6: drop metadata dst in ip6_route_input
ipv6: ndisc: inherit metadata dst when creating ndisc requests
vxlan: provide access function for vxlan socket address family
vxlan: do not shadow flags variable
vxlan: metadata based tunneling for IPv6
ipv6: route: extend flow representation with tunnel key
ipv6: route: per route IP tunnel metadata via lightweight tunnel

 drivers/net/vrf.c              |   1 -
 drivers/net/vxlan.c            |  89 +++++++++++++++++--------------
 include/net/dst.h              |   3 +-
 include/net/dst_metadata.h     |  15 ++----
 include/net/flow.h             |   1 +
 include/net/ip6_fib.h          |   1 -
 include/net/ip_tunnels.h       |  50 ++++++++++-------
 include/net/lwtunnel.h         |  12 -----
 include/net/ndisc.h            |   3 +-
 include/net/route.h            |   1 -
 include/net/vxlan.h            |   5 ++
 include/uapi/linux/lwtunnel.h  |  16 ++++++
 net/core/dst.c                 |   3 ++
 net/core/filter.c              |   6 +--
 net/core/lwtunnel.c            |  70 ++++--------------------
 net/ipv4/ip_gre.c              |  20 +++----
 net/ipv4/ip_tunnel_core.c      | 118 ++++++++++++++++++++++++++++++++++++++---
 net/ipv4/route.c               |  20 +++----
 net/ipv6/addrconf.c            |   2 +-
 net/ipv6/ila.c                 |  14 ++---
 net/ipv6/ip6_fib.c             |   1 -
 net/ipv6/ndisc.c               |  10 ++--
 net/ipv6/route.c               |  29 ++++++----
 net/mpls/mpls_iptunnel.c       |   7 +--
 net/openvswitch/flow_netlink.c |  28 +++++-----
 net/openvswitch/flow_table.c   |   2 +-
 net/openvswitch/vport-geneve.c |   4 +-
 net/openvswitch/vport-netdev.c |   2 +-
 net/openvswitch/vport.c        |   6 +--
 net/openvswitch/vport.h        |   6 +--
 30 files changed, 312 insertions(+), 233 deletions(-)
Signature · 1 line
1.8.3.1