Skip to content

Tunneling: Tunnel restructuring.

Pravin B Shelar netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest5 patches 1 replyIn review
  2. v35 patches 1 replySuperseded
  3. v25 patches 14 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v16 patches5 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5GRE: Refactor GRE tunneling code.drivers/net/vxlan.c include/net/gre.h include/net/ip6_tunnel.h +15 more+1594 -12830 replies
2/5IPIP: Use ip-tunneling code.net/ipv4/Kconfig net/ipv4/ipip.c+57 -6900 replies
3/5VXLAN: Fix vxlan stats handling.drivers/net/Kconfig drivers/net/vxlan.c+8 -650 replies
4/5VXLAN: Use IP Tunnels tunnel ENC encap APIdrivers/net/vxlan.c+2 -240 replies
5/5Tunneling: use IP Tunnel stats APIs.net/ipv4/Kconfig net/ipv4/ip_vti.c net/ipv6/Kconfig +2 more+7 -1170 replies

Reviews trailers per patch

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

PatchStephen Hemminger
1/5
2/5
3/5A-b
4/5A-b
5/5

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

Read the v4 thread

Cover letter [PATCH v4 net-next 0/5] Tunneling: Tunnel restructuring.

Following patch series restructure GRE and IPIP tunneling code to make it modular. It adds ip_tunnel module which acts as generic tunneling layer which has common code.

These patches do not change any functionality. v3:v4:
- Fixed compilation error in ipv6.
- Few coding style fixes.
v2-v3:
- Use GPL exports for all export symbols.
- Set default config NET_IP_TUNNEL to m.
v1-v2:
- Dropped patch to convert gre_proto_lock to rtnl lock.

Pravin B Shelar (5):
GRE: Refactor GRE tunneling code.
IPIP: Use ip-tunneling code.
VXLAN: Fix vxlan stats handling.
VXLAN: Use IP Tunnels tunnel ENC encap API
Tunneling: use IP Tunnel stats APIs.

 drivers/net/Kconfig      |    1 +
 drivers/net/vxlan.c      |  100 +---
 include/net/gre.h        |   51 ++
 include/net/ip6_tunnel.h |    1 +
 include/net/ip_tunnels.h |  177 ++++++
 include/net/ipip.h       |   84 ---
 net/ipv4/Kconfig         |    7 +
 net/ipv4/Makefile        |    1 +
 net/ipv4/af_inet.c       |    1 -
 net/ipv4/gre.c           |    5 -
 net/ipv4/ip_gre.c        | 1504 ++++++++++------------------------------------
 net/ipv4/ip_tunnel.c     | 1035 +++++++++++++++++++++++++++++++
 net/ipv4/ip_vti.c        |   42 +--
 net/ipv4/ipip.c          |  748 ++---------------------
 net/ipv4/ipmr.c          |    2 +-
 net/ipv6/Kconfig         |    2 +
 net/ipv6/af_inet6.c      |    1 -
 net/ipv6/ip6_gre.c       |   45 +--
 net/ipv6/ip6_tunnel.c    |    1 +
 net/ipv6/sit.c           |   39 +--
 20 files changed, 1668 insertions(+), 2179 deletions(-)
 create mode 100644 include/net/ip_tunnels.h
 delete mode 100644 include/net/ipip.h
 create mode 100644 net/ipv4/ip_tunnel.c