public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Roopa Prabhu <roopa@cumulusnetworks•com>
To: David Lebrun <david.lebrun@uclouvain•be>
Cc: netdev@vger•kernel.org
Subject: Re: [RFC 4/9] ipv6: sr: add support for SRH encapsulation and injection with lwtunnels
Date: Mon, 29 Aug 2016 07:52:40 -0700	[thread overview]
Message-ID: <57C44C38.4010203@cumulusnetworks.com> (raw)
In-Reply-To: <1472226767-9904-5-git-send-email-david.lebrun@uclouvain.be>

On 8/26/16, 8:52 AM, David Lebrun wrote:
> This patch creates a new type of interfaceless lightweight tunnel (SEG6),
> enabling the encapsulation and injection of SRH within locally emitted
> packets and forwarded packets.
>
> From a configuration viewpoint, a seg6 tunnel would be configured as follows:
>
>   ip -6 ro ad fc00::1/128 via <gw> encap seg6 mode encap segs fc42::1,fc42::2,fc42::3
>
> Any packet whose destination address is fc00::1 would thus be encapsulated
> within an outer IPv6 header containing the SRH with three segments, and would
> actually be routed to the first segment of the list. If `mode inline' was
> specified instead of `mode encap', then the SRH would be directly inserted
> after the IPv6 header without outer encapsulation.
>
> Signed-off-by: David Lebrun <david.lebrun@uclouvain•be>
> ---

You will need to account for lwtunnel headroom ?
https://patchwork.ozlabs.org/patch/662632/

thanks,
Roopa

  reply	other threads:[~2016-08-29 14:52 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-26 15:52 [RFC 0/9] add support for IPv6 Segment Routing David Lebrun
2016-08-26 15:52 ` [RFC 1/9] ipv6: implement dataplane support for rthdr type 4 (Segment Routing Header) David Lebrun
2016-08-31 14:51   ` Nicolas Dichtel
2016-09-01 13:11     ` David Lebrun
2016-09-01 13:58       ` Nicolas Dichtel
2016-08-31 17:13   ` Stephen Hemminger
2016-08-26 15:52 ` [RFC 2/9] ipv6: sr: add code base for control plane support of SR-IPv6 David Lebrun
2016-08-29 15:31   ` Roopa Prabhu
2016-08-31 14:57     ` Nicolas Dichtel
2016-09-01 13:21     ` David Lebrun
2016-09-05 10:05       ` Nicolas Dichtel
2016-08-31 14:59   ` Nicolas Dichtel
2016-08-31 17:10   ` Stephen Hemminger
2016-09-01 13:25     ` David Lebrun
2016-09-01 17:15       ` Stephen Hemminger
2016-08-31 17:11   ` Stephen Hemminger
2016-08-31 17:11   ` Stephen Hemminger
2016-08-26 15:52 ` [RFC 3/9] ipv6: route: export symbol ip6_route_input David Lebrun
2016-08-26 15:52 ` [RFC 4/9] ipv6: sr: add support for SRH encapsulation and injection with lwtunnels David Lebrun
2016-08-29 14:52   ` Roopa Prabhu [this message]
2016-09-01 13:32     ` David Lebrun
2016-08-26 15:54 ` [RFC 5/9] ipv6: sr: add core files for SR HMAC support David Lebrun
2016-08-26 15:54 ` [RFC 6/9] ipv6: sr: implement API to control SR HMAC structures David Lebrun
2016-08-26 15:54 ` [RFC 7/9] ipv6: sr: add calls to verify and insert HMAC signatures David Lebrun
2016-08-26 15:54 ` [RFC 8/9] ipv6: add source address argument for ipv6_push_nfrag_opts David Lebrun
2016-08-26 15:54 ` [RFC 9/9] ipv6: sr: add support for SRH injection through setsockopt David Lebrun

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=57C44C38.4010203@cumulusnetworks.com \
    --to=roopa@cumulusnetworks$(echo .)com \
    --cc=david.lebrun@uclouvain$(echo .)be \
    --cc=netdev@vger$(echo .)kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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