netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Guillaume Nault <gnault@redhat.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: netdev@vger.kernel.org, Martin Varghese <martinvarghesenokia@gmail.com>
Subject: Re: [PATCH iproute2] ip link: initial support for bareudp devices
Date: Thu, 16 Jul 2020 19:20:43 +0200	[thread overview]
Message-ID: <20200716172043.GC30783@pc-2.home> (raw)
In-Reply-To: <20200706111109.5039ed3f@hermes.lan>

On Mon, Jul 06, 2020 at 11:11:09AM -0700, Stephen Hemminger wrote:
> On Wed, 1 Jul 2020 21:45:04 +0200
> Guillaume Nault <gnault@redhat.com> wrote:
> 
> > Bareudp devices provide a generic L3 encapsulation for tunnelling
> > different protocols like MPLS, IP, NSH, etc. inside a UDP tunnel.
> > 
> > This patch is based on original work from Martin Varghese:
> > https://lore.kernel.org/netdev/1570532361-15163-1-git-send-email-martinvarghesenokia@gmail.com/
> > 
> > Examples:
> > 
> >   - ip link add dev bareudp0 type bareudp dstport 6635 ethertype mpls_uc
> > 
> > This creates a bareudp tunnel device which tunnels L3 traffic with
> > ethertype 0x8847 (unicast MPLS traffic). The destination port of the
> > UDP header will be set to 6635. The device will listen on UDP port 6635
> > to receive traffic.
> > 
> >   - ip link add dev bareudp0 type bareudp dstport 6635 ethertype ipv4 multiproto
> > 
> > Same as the MPLS example, but for IPv4. The "multiproto" keyword allows
> > the device to also tunnel IPv6 traffic.
> > 
> > Signed-off-by: Guillaume Nault <gnault@redhat.com>
> 
> Applied. 
> Would it be possible to add a test for this in the iproute2 testsuite?

No problem, I'm working on it.


      reply	other threads:[~2020-07-16 17:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01 19:45 [PATCH iproute2] ip link: initial support for bareudp devices Guillaume Nault
2020-07-02  9:15 ` [PATCH iproute2] ip link: initial support for bareudp devicesy Martin Varghese
2020-07-02  9:57   ` Guillaume Nault
2020-07-03  3:10     ` Martin Varghese
2020-07-02 16:02 ` [PATCH iproute2] ip link: initial support for bareudp devices Martin Varghese
2020-07-02 17:03   ` Guillaume Nault
2020-07-02 17:11     ` Martin Varghese
2020-07-02 17:32       ` Guillaume Nault
2020-07-03  3:12         ` Martin Varghese
2020-07-06 18:11 ` Stephen Hemminger
2020-07-16 17:20   ` Guillaume Nault [this message]

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=20200716172043.GC30783@pc-2.home \
    --to=gnault@redhat.com \
    --cc=martinvarghesenokia@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=stephen@networkplumber.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).