[ovs-dev] [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.

Pravin B Shelar pshelar at nicira.com
Tue Jan 8 02:31:32 UTC 2013


From: Pravin Shelar <pshelar at nicira.com>

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. I have patch
to do same for VXLAN too.

In Addidtion to restructuring it adds demultiplexer for ipgre
protocol, so that linux kernel IPGRE module and OVS gre module
can co-exist.
Last patch adds linux state updates to tunnel device from
lower device.

Pravin Shelar (5):
  GRE: Add segmentation offload for GRE TAP device.
  GRE: Use RTNL for atomic protocol registration.
  GRE: Refactor code GRE code.
  IPIP: Use ip-tunneling code.
  IP_TUNNEL: follow state of lower device

 drivers/net/ppp/pptp.c    |    4 +
 include/linux/if_tunnel.h |    8 -
 include/linux/skbuff.h    |   12 +
 include/net/gre.h         |   57 ++
 include/net/ip_tunnel.h   |  164 +++++
 include/net/ipip.h        |   74 ---
 net/ipv4/Kconfig          |    6 +
 net/ipv4/Makefile         |    1 +
 net/ipv4/af_inet.c        |    2 +-
 net/ipv4/gre.c            |  496 ++++++++++++++-
 net/ipv4/ip_gre.c         | 1569 ++++++++-------------------------------------
 net/ipv4/ip_tunnel.c      | 1171 +++++++++++++++++++++++++++++++++
 net/ipv4/ip_vti.c         |    2 +-
 net/ipv4/ipip.c           |  780 +++--------------------
 net/ipv4/ipmr.c           |    2 +-
 net/ipv4/tcp.c            |    1 +
 net/ipv4/udp.c            |    3 +-
 net/ipv6/af_inet6.c       |    1 -
 net/ipv6/ip6_gre.c        |    1 +
 net/ipv6/ip6_offload.c    |    1 +
 net/ipv6/ip6_tunnel.c     |    1 +
 net/ipv6/sit.c            |    2 +-
 net/ipv6/udp_offload.c    |    3 +-
 23 files changed, 2268 insertions(+), 2093 deletions(-)
 create mode 100644 include/net/ip_tunnel.h
 delete mode 100644 include/net/ipip.h
 create mode 100644 net/ipv4/ip_tunnel.c




More information about the dev mailing list