netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andy Zhou <azhou@nicira.com>
To: David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Andy Zhou <azhou@nicira.com>
Subject: Re: [v8 net-next 0/4] Refactor vxlan and l2tp to use new common UDP tunnel APIs
Date: Tue, 16 Sep 2014 17:43:46 -0700	[thread overview]
Message-ID: <CACzMAJLNQWHhEovZKUXUqbQ-vkpV_4pg3NBvnFQMGZ6d5cy7_w@mail.gmail.com> (raw)
In-Reply-To: <1410913787-31599-1-git-send-email-azhou@nicira.com>

Forgot to mention there is no code from v7-v8, just added more content
to the commit message.

Should have added the following line to the commit message:

v7->v8:  commit message enhancement.

On Tue, Sep 16, 2014 at 5:29 PM, Andy Zhou <azhou@nicira.com> wrote:
> This patch series add a few more UDP tunnel APIs and refactoring current
> UDP tunnel based protocols, vxlan and l2tp to make use of the new APIs.
>
> The added APIs are setup_udp_tunnel_sock(), udp_tunnel_xmit_skb() and
> udp_tunnel_sock_release(). Those implementation logics already exist in
> current vxlan and l2tp implementation. Move them to common APIs to reduce
> code duplications.
>
> Also split udp_tunnel.c into net/ipv4/udp_tunnel.c and
> net/ipv6/ip6_udp_tunnel.c to maintain proper IP protocol separation.
>
> Andy Zhou (4):
>   udp_tunnel: Seperate ipv6 functions into its own file.
>   udp-tunnel: Add a few more UDP tunnel APIs
>   vxlan: Refactor vxlan driver to make use of the common UDP tunnel
>     functions.
>   l2tp: Refactor l2tp core driver to make use of the common UDP tunnel
>     functions
>
>  drivers/net/vxlan.c       |  105 ++++++++--------------------------
>  include/net/udp_tunnel.h  |   85 +++++++++++++++++++++++++++-
>  net/ipv4/udp_tunnel.c     |  138 ++++++++++++++++++++++++---------------------
>  net/ipv6/Makefile         |    1 +
>  net/ipv6/ip6_udp_tunnel.c |  105 ++++++++++++++++++++++++++++++++++
>  net/l2tp/l2tp_core.c      |   24 ++++----
>  6 files changed, 294 insertions(+), 164 deletions(-)
>  create mode 100644 net/ipv6/ip6_udp_tunnel.c
>
> --
> 1.7.9.5
>

  reply	other threads:[~2014-09-17  0:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-17  0:29 [v8 net-next 0/4] Refactor vxlan and l2tp to use new common UDP tunnel APIs Andy Zhou
2014-09-17  0:43 ` Andy Zhou [this message]
2014-09-19 19:58 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACzMAJLNQWHhEovZKUXUqbQ-vkpV_4pg3NBvnFQMGZ6d5cy7_w@mail.gmail.com \
    --to=azhou@nicira.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).