netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.
@ 2013-01-08  2:31 Pravin B Shelar
  2013-01-08 21:10 ` Or Gerlitz
  2013-01-10  7:52 ` David Miller
  0 siblings, 2 replies; 6+ messages in thread
From: Pravin B Shelar @ 2013-01-08  2:31 UTC (permalink / raw)
  To: dev, netdev; +Cc: jesse, Pravin Shelar

From: Pravin Shelar <pshelar@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.
  2013-01-08  2:31 [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling Pravin B Shelar
@ 2013-01-08 21:10 ` Or Gerlitz
       [not found]   ` <CAJZOPZK1wwno3wvu30v_HGm--R-SOYEP+SjK-sOc6F40iGb0QA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-01-10  7:52 ` David Miller
  1 sibling, 1 reply; 6+ messages in thread
From: Or Gerlitz @ 2013-01-08 21:10 UTC (permalink / raw)
  To: Pravin B Shelar; +Cc: dev, netdev, jesse

On Tue, Jan 8, 2013 at 4:31 AM, Pravin B Shelar <pshelar@nicira.com> wrote:
> 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. [..]

Can you be more specific re the vxlan patch?

Or.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.
       [not found]   ` <CAJZOPZK1wwno3wvu30v_HGm--R-SOYEP+SjK-sOc6F40iGb0QA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-01-08 21:16     ` Pravin Shelar
  2013-01-08 21:20     ` Pravin Shelar
  1 sibling, 0 replies; 6+ messages in thread
From: Pravin Shelar @ 2013-01-08 21:16 UTC (permalink / raw)
  To: Or Gerlitz
  Cc: dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA


[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]

On Tue, Jan 8, 2013 at 1:10 PM, Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

> On Tue, Jan 8, 2013 at 4:31 AM, Pravin B Shelar <pshelar-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org>
> wrote:
> > 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. [..]
>
> Can you be more specific re the vxlan patch?
>
>
I am in process of updating VXLAN patches, I will send new version soon. I
have earlier version posted on openvswitch dev mailing list last month.

Thanks,
Pravin.

[-- Attachment #1.2: Type: text/html, Size: 1254 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.
       [not found]   ` <CAJZOPZK1wwno3wvu30v_HGm--R-SOYEP+SjK-sOc6F40iGb0QA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2013-01-08 21:16     ` Pravin Shelar
@ 2013-01-08 21:20     ` Pravin Shelar
  1 sibling, 0 replies; 6+ messages in thread
From: Pravin Shelar @ 2013-01-08 21:20 UTC (permalink / raw)
  To: Or Gerlitz
  Cc: dev-yBygre7rU0TnMu66kgdUjQ@public.gmane.org,
	netdev-u79uwXL29TY76Z2rM5mHXA

On Tue, Jan 8, 2013 at 1:10 PM, Or Gerlitz <or.gerlitz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> On Tue, Jan 8, 2013 at 4:31 AM, Pravin B Shelar <pshelar-l0M0P4e3n4LQT0dZR+AlfA@public.gmane.org> wrote:
>> 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. [..]
>
> Can you be more specific re the vxlan patch?
>

I am in process of updating VXLAN patches, I will send new version
soon. I have earlier version posted on openvswitch dev mailing list
last month.

Thanks,
Pravin.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.
  2013-01-08  2:31 [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling Pravin B Shelar
  2013-01-08 21:10 ` Or Gerlitz
@ 2013-01-10  7:52 ` David Miller
  2013-01-10 19:28   ` Pravin Shelar
  1 sibling, 1 reply; 6+ messages in thread
From: David Miller @ 2013-01-10  7:52 UTC (permalink / raw)
  To: pshelar; +Cc: dev, netdev, jesse

From: Pravin B Shelar <pshelar@nicira.com>
Date: Mon,  7 Jan 2013 18:31:32 -0800

> 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.

Please resubmit this when you can also submit the patches which
actually use this new modularity.

Otherwise the value proposition is impossible to analyze.

Thanks.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling.
  2013-01-10  7:52 ` David Miller
@ 2013-01-10 19:28   ` Pravin Shelar
  0 siblings, 0 replies; 6+ messages in thread
From: Pravin Shelar @ 2013-01-10 19:28 UTC (permalink / raw)
  To: David Miller; +Cc: dev@openvswitch.org, netdev, Jesse Gross

On Wed, Jan 9, 2013 at 11:52 PM, David Miller <davem@davemloft.net> wrote:
> From: Pravin B Shelar <pshelar@nicira.com>
> Date: Mon,  7 Jan 2013 18:31:32 -0800
>
>> 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.
>
> Please resubmit this when you can also submit the patches which
> actually use this new modularity.
>
> Otherwise the value proposition is impossible to analyze.
>
Ok. These patches are not just modularize ipv4 tunnels but also does
code refactoring, so that there is less code duplication in different
tunneling implementation.

There are couple of independent patches from this patch series. I will
submit them separately. Later I will resubmit modular ip-tunnel
patches as you have suggested.

Thanks,
Pravin.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-01-10 19:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-08  2:31 [PATCH 0/5] ipv4_tunnels: Modularize ipv4 tunneling Pravin B Shelar
2013-01-08 21:10 ` Or Gerlitz
     [not found]   ` <CAJZOPZK1wwno3wvu30v_HGm--R-SOYEP+SjK-sOc6F40iGb0QA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-01-08 21:16     ` Pravin Shelar
2013-01-08 21:20     ` Pravin Shelar
2013-01-10  7:52 ` David Miller
2013-01-10 19:28   ` Pravin Shelar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).