Re: [mpls] Regarding adopting draft-song-mpls-extension-header - do we need post stack data?

"Dongjie (Jimmy)" <jie.dong@huawei.com> Sat, 25 February 2023 01:31 UTC

Return-Path: <jie.dong@huawei.com>
X-Original-To: mpls@ietfa.amsl.com
Delivered-To: mpls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEF57C14CE3D for <mpls@ietfa.amsl.com>; Fri, 24 Feb 2023 17:31:00 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.198
X-Spam-Level:
X-Spam-Status: No, score=-4.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iaXDG7eXuXTn for <mpls@ietfa.amsl.com>; Fri, 24 Feb 2023 17:30:58 -0800 (PST)
Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3AB04C14F749 for <mpls@ietf.org>; Fri, 24 Feb 2023 17:30:58 -0800 (PST)
Received: from lhrpeml500006.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PNpxN482Tz6J6CY for <mpls@ietf.org>; Sat, 25 Feb 2023 09:26:00 +0800 (CST)
Received: from kwepemi500017.china.huawei.com (7.221.188.110) by lhrpeml500006.china.huawei.com (7.191.161.198) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Sat, 25 Feb 2023 01:30:55 +0000
Received: from kwepemi500017.china.huawei.com (7.221.188.110) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.6; Sat, 25 Feb 2023 09:30:53 +0800
Received: from kwepemi500017.china.huawei.com ([7.221.188.110]) by kwepemi500017.china.huawei.com ([7.221.188.110]) with mapi id 15.01.2507.017; Sat, 25 Feb 2023 09:30:53 +0800
From: "Dongjie (Jimmy)" <jie.dong@huawei.com>
To: Joel Halpern <jmh.direct@joelhalpern.com>, Stewart Bryant <stewart.bryant@gmail.com>
CC: "mpls@ietf.org" <mpls@ietf.org>
Thread-Topic: [mpls] Regarding adopting draft-song-mpls-extension-header - do we need post stack data?
Thread-Index: AQHZRehUEETFOPCPKEeKKFgmx0Kekq7avJOAgAABkICAARCgwP//8gOAgABLqwCAAdL/oA==
Date: Sat, 25 Feb 2023 01:30:53 +0000
Message-ID: <41b6ab09be8f4f9bb2b740907a73a08a@huawei.com>
References: <27b7ff60-4ce1-c053-5c87-42cb4919d79e@joelhalpern.com> <DE575CB4-C281-4CD8-90D9-E18BE6495EB7@gmail.com> <20cae3d8-f070-dca3-3463-f4e80db84181@joelhalpern.com> <7d63a48ed1004971bba52b1f3361763d@huawei.com> <6C220BCB-6E8D-456F-8D7F-0CC53EA1CDB2@gmail.com> <fd61062a-c1ca-7bb4-4858-783a2ab926dd@joelhalpern.com>
In-Reply-To: <fd61062a-c1ca-7bb4-4858-783a2ab926dd@joelhalpern.com>
Accept-Language: en-US, zh-CN
Content-Language: zh-CN
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.112.40.66]
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-CFilter-Loop: Reflected
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/5mGu5V56XAy4D9x6XzkUkgNTejo>
Subject: Re: [mpls] Regarding adopting draft-song-mpls-extension-header - do we need post stack data?
X-BeenThere: mpls@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mpls>, <mailto:mpls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls/>
List-Post: <mailto:mpls@ietf.org>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mpls>, <mailto:mpls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 25 Feb 2023 01:31:00 -0000

Hi Joel, 

The question is about how much ISD based ancillary data the legacy hardware can support, considering their limitations in the readable label depth. 

By "significant upgrades", do you mean software or hardware upgrades, or both? Since the question is about the size of ISD the legacy hardware can support, hardware upgrade is considered out of scope. 

Considering the information from Stewart, it seems for the legacy hardware to support ISD, the total length of ISD can only be no more than 3 LSEs, including the SPL, the action indicators and ancillary data. There needs to be some space left for the forwarding and service labels. 

For SR-MPLS, there is one more concern with the size of ISD: to support hop-by-hop scope, the same ISD needs to be replicated several times in the label stack, which leaves much smaller space for carrying the SR SIDs. What is worse is that the larger the ISD, the lower the encapsulation efficiency (considering a case where every SR SID follows with an ISD).

Thus it was always my understanding that space in ISD is limited, which may be used for carrying the indicator and limited size of ancillary data, and PSD is necessary for the extensibility of MNA solution. 

Thoughts?

Best regards,
Jie

> -----Original Message-----
> From: Joel Halpern [mailto:jmh.direct@joelhalpern.com]
> Sent: Thursday, February 23, 2023 10:00 PM
> To: Stewart Bryant <stewart.bryant@gmail.com>; Dongjie (Jimmy)
> <jie.dong@huawei.com>
> Cc: mpls@ietf.org
> Subject: Re: [mpls] Regarding adopting draft-song-mpls-extension-header -
> do we need post stack data?
> 
> I actually find the question confusing.
> 
> There may be some existing devices that will be able to be upgraded to
> handle MNS (ISP with or without PSD) in the fast path.  But most devices
> will require significant upgrades.  As such, the readable label stack depth is
> likely to change in conjunction with the upgrade.
> 
> Also, I expect that some kinds of enhancements (handling entropy label in
> MNA) are going to be doable on more devices than others (inserting
> information into the bottom of the label stack.)  So the question of which
> implementations can provide us with which capabilities once this has had
> time to roll out seems very hard to evaluate.  (I would love to hear from the
> folks who specialize in building chips to do this as to whether they see any
> issues in any of the dimensions we are discussing.)



> 
> Yours,
> 
> Joel
> 
> On 2/23/2023 4:29 AM, Stewart Bryant wrote:
> > I do not know, but I have heard numbers as small as 4 for edge devices and
> as small as 8 for core devices, although SR has increased these numbers.
> >
> > Others may have more up today information and of course we have the
> survey that we did, but I do not have that to immediate hand.
> >
> > - Stewart
> >
> >> On 23 Feb 2023, at 07:23, Dongjie (Jimmy) <jie.dong@huawei.com>
> wrote:
> >>
> >> Hi Joel and Stewart,
> >>
> >> One major motivation of introducing ISD was to adapt to the limitation of
> readable label depth of the legacy hardware.
> >>
> >> Do you know the number of readable label depth supported by usual
> legacy devices? That may set an upper bound to the size of ISD, and the
> amount of data that can be carried with it.
> >>
> >> Best regards,
> >> Jie
> >>
> >>> -----Original Message-----
> >>> From: mpls [mailto:mpls-bounces@ietf.org] On Behalf Of Joel Halpern
> >>> Sent: Thursday, February 23, 2023 2:04 AM
> >>> To: Stewart Bryant <stewart.bryant@gmail.com>
> >>> Cc: mpls@ietf.org
> >>> Subject: Re: [mpls] Regarding adopting
> >>> draft-song-mpls-extension-header - do we need post stack data?
> >>>
> >>> Is there a draft with a description of this use case?
> >>>
> >>> Yours,
> >>>
> >>> Joel
> >>>
> >>> On 2/22/2023 12:58 PM, Stewart Bryant wrote:
> >>>> iOAM is  not the only use case, that is another in the latency
> >>> control/deterministic networking area, which is in itself
> >>> fundamental to the ambitions of the 5G/6G world. Some of these
> >>> approaches require a timestamp in the packet and it is not clear that we
> can shoehorn this into the MPLS stack itself.
> >>>> I can also see a need for more sophisticated security models than
> >>>> we have at
> >>> the moment, and again I doubt that we can fit these in the stack.
> >>>> So I do not think that we should preclude PSD at this stage.
> >>>>
> >>>> Now I suppose we might push ahead with the ISD components in
> >>>> advance of
> >>> PSD, but we should be most careful not to preclude PSD from the design.
> >>>> Stewart
> >>>>
> >>>>> On 21 Feb 2023, at 11:32, Joel Halpern <jmh@joelhalpern.com>
> wrote:
> >>>>>
> >>>>> Since I just saw another email that aluded to this quesiton, and I
> >>>>> have been
> >>> thinking about it for some time, I thought I should post now.
> >>>>> Poststtack data is admittedly powerful.  But it is not at all
> >>>>> clear to me that we
> >>> need that power.  And it adds significant complication to the MNA
> >>> processing in many regards.
> >>>>> The primary use case I could find reviewing drafts for post stack
> >>>>> data is for
> >>> IOAM data accumulation.  The direct export (postcard) proposals
> >>> would remove the need for that.  And accumulating poststack data in
> >>> a packet either means trying to estimate how much room to leave,
> >>> generally wasteful, or even worse inserting information lengthening
> >>> a packet at many hops, which is expensive and complicated.
> >>>>> Why not just stick with the one piece of poststack data we have,
> >>>>> the
> >>> GAL/GACH, and handle everything else with in-stack data.
> >>>>> Yours,
> >>>>>
> >>>>> Joel
> >>>>>
> >>>>> _______________________________________________
> >>>>> mpls mailing list
> >>>>> mpls@ietf.org
> >>>>> https://www.ietf.org/mailman/listinfo/mpls
> >>> _______________________________________________
> >>> mpls mailing list
> >>> mpls@ietf.org
> >>> https://www.ietf.org/mailman/listinfo/mpls