Re: [Bier] [mpls] [bier] The first nibble issue associated with MPLS encapsulation

Loa Andersson <loa@pi.nu> Fri, 15 April 2016 07:09 UTC

Return-Path: <loa@pi.nu>
X-Original-To: bier@ietfa.amsl.com
Delivered-To: bier@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD01E12D806; Fri, 15 Apr 2016 00:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.896
X-Spam-Level:
X-Spam-Status: No, score=-2.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.996] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ty9zTCfS8c3L; Fri, 15 Apr 2016 00:09:57 -0700 (PDT)
Received: from pipi.pi.nu (pipi.pi.nu [83.168.239.141]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BACF12D0C2; Fri, 15 Apr 2016 00:09:57 -0700 (PDT)
Received: from [192.168.1.2] (unknown [122.53.41.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: loa@pi.nu) by pipi.pi.nu (Postfix) with ESMTPSA id DA5D41802ADB; Fri, 15 Apr 2016 09:09:53 +0200 (CEST)
To: Gregory Mirsky <gregory.mirsky@ericsson.com>, Stewart Bryant <stewart.bryant@gmail.com>, "Nagendra Kumar Nainar (naikumar)" <naikumar@cisco.com>, Eric C Rosen <erosen@juniper.net>, Alexander Vainshtein <Alexander.Vainshtein@ecitele.com>
References: <1FEE3F8F5CCDE64C9A8E8F4AD27C19EE0D53871C@NKGEML515-MBX.china.huawei.com> <B664DB14-0A8C-4437-83E3-F9DA6C0DDA61@cisco.com> <mc51yrrf9n0wxbjsrprt9amf.1460143890063@email.android.com> <CA+RyBmXpZ-Kt77TW-=_kPYmahdw_yUHB5xhy8YtYVq2OcRJxbA@mail.gmail.com> <D32DB725.3F57B%cpignata@cisco.com> <CA+RyBmW+qonpScnLOfsGorayCvsS0vrFcn+o5nPvOqCOv9Jc3g@mail.gmail.com> <AM3PR03MB0775C55E5AD3247F373007139D940@AM3PR03MB0775.eurprd03.prod.outlook.com> <570BB266.8090608@juniper.net> <570F6374.6030406@gmail.com> <DB3PR03MB0780B7CE7B96283FB484C2489D970@DB3PR03MB0780.eurprd03.prod.outlook.com> <570F9901.2080406@juniper.net> <D3352203.13D10A%naikumar@cisco.com> <570FB333.5080509@pi.nu> <570FF136.7030600@gmail.com> <571057AE.6090305@pi.nu> <7347100B5761DC41A166AC17F22DF11221A45EC0@eusaamb103.ericsson.se>
From: Loa Andersson <loa@pi.nu>
Message-ID: <571093BE.7070803@pi.nu>
Date: Fri, 15 Apr 2016 15:09:50 +0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <7347100B5761DC41A166AC17F22DF11221A45EC0@eusaamb103.ericsson.se>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/bier/hUKZCJmGG_gg-nmWAy5o7ffhYUs>
Cc: "mpls@ietf.org" <mpls@ietf.org>, "bier@ietf.org" <bier@ietf.org>
Subject: Re: [Bier] [mpls] [bier] The first nibble issue associated with MPLS encapsulation
X-BeenThere: bier@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "\"Bit Indexed Explicit Replication discussion list\"" <bier.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/bier>, <mailto:bier-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/bier/>
List-Post: <mailto:bier@ietf.org>
List-Help: <mailto:bier-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/bier>, <mailto:bier-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 15 Apr 2016 07:10:00 -0000

Greg,

I think the position of the mpls wg should be that LSRs (P node) may do
load sharing if the the first nibble is 4 or 6, otherwise not.

Other wg may decide on which of the "none of the above"-values to use in
the cases they specify. When specifying such values it should be clear
that the first nibble is not a general payload indicator, it is an
indicator whether load sharing (if available) may be wanted or not.

For some PW application the first nibble have a meaning slightly
different from this, as far as I can see this is OK and deployed.
It also means that other wg may want to distinguish the payload that
wg specifies from PWs, but in doing so they should not assume that
the value they chose is a indicator that is 100% sure to identify that
payload.


/Loa

On 2016-04-15 11:55, Gregory Mirsky wrote:
> Hi Loa,
> I think that use of value 5 in the first nibble for MPLS encapsulated BIER packets is to differentiate them from all other variants that use the first nibble as the hint to P node on what use as flow characteristic information for ECMP. I don't think, though we should consult with BIER WG and authors of draft-ietf-bier-mpls-encapsulation, that the first nibble not supposed to be used as payload type identifier but only to differentiate from other types of the first nibble at P nodes to avoid incidental hashing of BIER packets assumed to be something else, IP or Ethernet. If that is the case, then the same value 5 may be used as None-of-the-Above indicator, including SFC.
>
> 	Regards,
> 		Greg
>
> -----Original Message-----
> From: mpls [mailto:mpls-bounces@ietf.org] On Behalf Of Loa Andersson
> Sent: Thursday, April 14, 2016 7:54 PM
> To: Stewart Bryant; Nagendra Kumar Nainar (naikumar); Eric C Rosen; Alexander Vainshtein
> Cc: mpls@ietf.org; bier@ietf.org
> Subject: Re: [mpls] [Bier] [bier] The first nibble issue associated with MPLS encapsulation
>
> Stewart,
>
> On 2016-04-15 03:36, Stewart Bryant wrote:
>>
>>
>> On 14/04/2016 16:11, Loa Andersson wrote:
>>>
>>>
>>> /Loa
>>>
>>> On 2016-04-14 22:41, Nagendra Kumar Nainar (naikumar) wrote:
>>>> Hi,
>>>>
>>>> Per IANA registry, 0-1 are ³Reserved² and so is not strictly
>>>> assigned with PW. Something like a modified CW beneath LSE?.
>>>> Further, BIER is hop-by-hop lookup based. So I think we don¹t need
>>>> to include this always.
>>>> Instead, we
>>>> could conditionally include this, if the next BFR is tunneled (not
>>>> directly connected).
>>>>
>>>> The receiving node will use the label to identify the payload/FEC.
>>>> So I think, the presence of modified CW should not confuse it with PW.
>>
>> Not quite Loa.
>>
>> It could be an Ethernet PW with no CW.
>
> Yes - you are right, how much of a problem is this in a P node? Any value, except 4 and 6, will stop the P node from doing ECMP/Load Sharing, right? A P node will never look for the control word.
>
> So an Ethernet PW that carries the same value in the first nibble that we specify for bier will be treated the same way as a bier packet.
> This does not effect the bier packets, and is the right way to treat the PW.
>
> So where do we have the problem?
>
> BIER would be in the clear, as it will carry any value but 4 or 6 in the first nibble, right?
> PWs with control word will have 0 (or 1) and not be effected by a P node that are doing ECMP/Load Sharing.
> Ethernet PWs without control word might have any value in the first nibble, if there is 4 or 6 a P node might to ECMP/Load Sharing.
>
> It seems to me that specifying the first nibble in a bier packet would be good, for the time being I don't care if we say 0 or 5.
>
> If there are problems with Ethernet PWs without control word, this has to be solved in the context of PWs.
>
> /Loa
>>
>> Stewart
>
> _______________________________________________
> mpls mailing list
> mpls@ietf.org
> https://www.ietf.org/mailman/listinfo/mpls
>
> _______________________________________________
> BIER mailing list
> BIER@ietf.org
> https://www.ietf.org/mailman/listinfo/bier
>