Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?

"Adrian Farrel" <> Thu, 23 July 2015 14:08 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id ABA931ACDB2 for <>; Thu, 23 Jul 2015 07:08:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -101.999
X-Spam-Status: No, score=-101.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_51=0.6, RCVD_IN_DNSWL_LOW=-0.7, USER_IN_WHITELIST=-100] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id eQpWDka83AaZ for <>; Thu, 23 Jul 2015 07:08:37 -0700 (PDT)
Received: from ( []) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id B056E1A87E7 for <>; Thu, 23 Jul 2015 07:08:36 -0700 (PDT)
Received: from (localhost.localdomain []) by (8.13.8/8.13.8) with ESMTP id t6NE8YJX029290; Thu, 23 Jul 2015 15:08:34 +0100
Received: from 950129200 ( []) (authenticated bits=0) by (8.13.8/8.13.8) with ESMTP id t6NE8WIS029266 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Thu, 23 Jul 2015 15:08:33 +0100
From: Adrian Farrel <>
To: 'Andrew Qu' <>
References: <> <>
In-Reply-To: <>
Date: Thu, 23 Jul 2015 15:08:33 +0100
Message-ID: <063701d0c551$0fdba4a0$2f92ede0$>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0638_01D0C559.71A4A080"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQKzQJK9kJpXm0F5+xxjl9qsRmKvegJzuunRnBCB8DA=
Content-Language: en-gb
X-TM-AS-MML: disable
X-TM-AS-Product-Ver: IMSS-
X-TM-AS-Result: No--30.478-10.0-31-10
X-imss-scan-details: No--30.478-10.0-31-10
X-TMASE-MatchedRID: Xxz90/Ib/Zg7iuZ/mdYYtlqTZu55qmNRpxEHlduTslDL1SGpNpKQyi2A LmUqyNrRvsnnK/VbfkqMVQb49Y23Ix9fNWA7SFWqmLvr/eiGOE74+9RkGdNhWGxJZsdfvpNzWpo 2v5ZHS+fXldNKzKPlvTWQg1yejS72tDSfcMR+7ZNgg+UjPGL1RXENmofN9nrpM21CreAEMZhehe h0dgb9eq8aUsrLRFySgNMFzGNLElBaNaxZBRbNWqvM+zzl/BST+pAoHyMi/o+Z8fwWt5BhYOx9X ZQ1UO/eQgUInkqQBs/M1jffIgQXhhtOWu9t8OcnSSUXkvSVAdzplJeCqDmqy+VwPkhdNxH1Ebus ZnyrIfTmdcm+4RXJ7camcgjprEPzOAqxcO8wXlvNQZLahcjIsTJ2ncI9Ab5FUSIRJNI3UC+QiLE OKOIRPnHMXURFxRSfVZ54ioe2Ewuh9lX/ZdrRwsxzM8CbVIFI44BDpO4iKowJyg8d9MeowoMIR3 HKgQXmPvqoTCKNMGtIOSHptb5tx2KaLwu81+avj/KzIaXakx6CXRbsHj8YbwvjUALgegyqc01y0 C3CGGiajZkb8TuLc5VIEKhlTKps1KoSW5Ji1Xu2F4a+vI22PinFkCcdwCtc8dY35PxDpnQXXGLm wYbUcgUJ2rQm9htlnVTWWiNp+v9BldmDYjwlppuSv4SfxhK3hzgLHqCMyqj/GfRlWNBSbXRIIK/ I1Y+US4Q3I/LeUOdm85QoNuKKviaXATIpQghoVWoi/SaO4wZaeSLr129mS9iqWhRD053L/Kcoh1 +zX3/0hk2n+cz0+7I7NQjwHVSmerJCitPoIIybKItl61J/yZUdXE/WGn0FSlnU38LCY8v3vguvm Elg+tUD5BVcvVVb6oOZutiToMg0kxW7y4PQmRzyjtyF0CPXSYYlYOcV1ws=
Archived-At: <>
Subject: Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multi-Protocol Label Switching WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 23 Jul 2015 14:08:40 -0000

Are you mixing "no swap" with "bump in the wire"?
If you are going to not consider TTL then you are doing some far more "interesting" things: like not decrementing the TTL so not being counted as a hop; not appearing in OAM; not checking incoming packets for TTL going to zero.
The discussion of "no swap" as applied *solely* to the label is a black box optimisation. There is no difference at the external interfaces when "no swap" is done or when "pop'n'push" or "swap-inline" is done. The packet coming out has the same features in all cases.
But, if you are doing other special things to the label stack entry (e.g. not looking at it, or not changing it) then IMHO you are not a router, you are a wire.
From: mpls [] On Behalf Of Andrew Qu
Sent: 23 July 2015 15:01
To: Alexander Vainshtein; Stewart Bryant; Andrew G. Malis; S. Davari
Subject: Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?
I don’t agree no-swap is the same as “swap with same value”.
I think if standard adds a no-swap operation, that would be great for people to implement 
Either SW or HW.
Once the label is defined as swap, I need to consider
1)      TTL
Copy payload TTL ? or using const_value
2)      QoS (pipe mode or not)
If pipe mode => then I need to do something
If not=> then I need to do something else.
However if it is really a “no-swap”,  then it is very clear for HW/SW to implement such operation.
I don’t need to consider any part of above cases.
I don’t think swaping a same value label is NOT the same as “no-swap” at all. 
>From Standard point of view, we should NOT leave ambiguity here at all.
From: mpls [] On Behalf Of Alexander Vainshtein
Sent: Tuesday, July 21, 2015 5:05 PM
To: Stewart Bryant; Andrew G. Malis; S. Davari
Subject: Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?
Thumb typed on my LG,

------ Original message ------
From: Stewart Bryant
Date: 21/07/2015 17:58
To: Andrew G. Malis;S. Davari;
Subject:Re: [mpls] draft-fang-mpls-label-forwarding-no-swap - how much does it really save?
This draft proposes architectural changes, and as we can show that
these changes are not needed, in my view, this draft should not go 

- Stewart

On 21/07/2015 09:02, Andrew G. Malis wrote:
As there are no architectural or protocol changes or IANA considerations, this draft should be informational if it goes forward (it currently says "standards track"). 
On Mon, Jul 20, 2015 at 8:52 PM, S. Davari  <> wrote:

I agree no standard change is required since this is a local optimization issue.


> On Jul 20, 2015, at 11:43 AM, Eric C Rosen <> wrote:
>> On 7/20/2015 2:07 PM, Shahram Davari wrote:
>> The new swapped labels (The outgoing  label that replaces the
>> incoming label) need to be stored in a table. Using this draft
>> reduces the number of swapped labels that needs to be stored,
>> regardless of  implementation. Don't you agree?
> No.  If you notice that the incoming label needs to be 'replaced' by an outgoing label of the same value, you could just make the rewrite string shorter, so it won't overwrite the top label on the stack.  This seems to be what the draft suggests, but it could be done as an optimization for the particular case where the incoming and outgoing labels have the same value.  You could do this today, as a local implementation optimization. There doesn't seem to be any interop issue or any change to the data plane semantics.
>> It also reduces the configuration and management of the new swapped labels.
> We're not discussing whether there are any advantages to the use of domain-wide labels.  We're discussing whether the use of domain-wide labels requires a change in the forwarding plane architecture.  I just don't see that it does.
> _______________________________________________
> mpls mailing list

mpls mailing list

mpls mailing list

For corporate legal information go to:

************* Email Confidentiality Notice ********************
The information contained in this e-mail message (including any 
attachments) may be confidential, proprietary, privileged, or otherwise
exempt from disclosure under applicable laws. It is intended to be 
conveyed only to the designated recipient(s). Any use, dissemination, 
distribution, printing, retaining or copying of this e-mail (including its 
attachments) by unintended recipient(s) is strictly prohibited and may 
be unlawful. If you are not an intended recipient of this e-mail, or believe 
that you have received this e-mail in error, please notify the sender 
immediately (by replying to this e-mail), delete any and all copies of 
this e-mail (including any attachments) from your system, and do not
disclose the content of this e-mail to any other person. Thank you!