[mpls] Re: PSD technical issues

Haoyu Song <haoyu.song@futurewei.com> Wed, 30 April 2025 17:09 UTC

Return-Path: <haoyu.song@futurewei.com>
X-Original-To: mpls@mail2.ietf.org
Delivered-To: mpls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 867392336EA4 for <mpls@mail2.ietf.org>; Wed, 30 Apr 2025 10:09:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XK9gBAS86HxC for <mpls@mail2.ietf.org>; Wed, 30 Apr 2025 10:09:58 -0700 (PDT)
Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2097.outbound.protection.outlook.com [40.107.236.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 78BC32336E9B for <mpls@ietf.org>; Wed, 30 Apr 2025 10:09:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Bg22o8MBw5Nk61Yrba9yZXv1ZX6Qybaf9EPsbWBk3CZpx822KCzZ2UubdVmaODxOeJXkaPNpVcgDMQqomxu547sJkQyLsN0f/FMJl3a0hblydR3sSW5+uLR5bp1JBb/2SrWZFibhffots6AE4SCHiQKu8Dv7ENrDhYJT46qyYmcE6X/7DW5n2+kbhmgoK2KIPzqf0464Y3uuoLD84pBpfOkaB/8c/jFLVZULPsigf6Jut3NAR2qhPXZDEEB9aO6q7F/sVn94dVPPmo1XHyWk+ajMXQu/5EDWueoU6AqRkP7dlroHYr9mcbZNssXEm2ILKzPYd6Z6btgU6TwRKtX03g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZuaXV3mjXbtvSxR3CXRrsUFZShZTAxurX7Mw/T//sRU=; b=TPHN2ZPmTDMJdBeMEZib96rs98CRXK3N9BCOjmZ1q8V1ATYUvEkJMGg01Dr3FBuEPLqZiCDjVR/1HY61OPEPim5cgIec/BlBgmCDxVuKNxOrocFQZpm/K0Ol7OwR3EtGDZVoIvVktnbR/yVvNPcWrUXQIIlwLWHU7YK27AB76Exk/74RYmKKSo1HhS2vk4SgwChH19RJrdoq6Ejod6lWjVsCwripBl2GrzP/gxQq5hrAMinorvuiNbVdgGOW2VRi7Mkl/xU2ul8tM19Rrn2SPML6nJF5HIJu6KkUieJoUzgCl5/084wUQnFONV4x2dPZE3FPf/nYeAaakamxD6A7qg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=futurewei.com; dmarc=pass action=none header.from=futurewei.com; dkim=pass header.d=futurewei.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Futurewei.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZuaXV3mjXbtvSxR3CXRrsUFZShZTAxurX7Mw/T//sRU=; b=oqzFIx4zWLHtKGvVIRNa+ZzTxaV0RpSqk2evGMjyPBoRIyWhoFZWhIiF3N+u8LDS0ircDq30ggzo8jCPplzIhg4k9BBEy72imySmzdDHJqo6Ys9lfXk4I6QXHINxcjVgmd8bu5/VTd8mZlxlM5CYxMRVHh0HO9QnDEVILLjB7Hs=
Received: from BY3PR13MB4787.namprd13.prod.outlook.com (2603:10b6:a03:357::13) by CH0PR13MB4764.namprd13.prod.outlook.com (2603:10b6:610:df::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8699.20; Wed, 30 Apr 2025 17:09:54 +0000
Received: from BY3PR13MB4787.namprd13.prod.outlook.com ([fe80::cb14:3d5c:d948:207b]) by BY3PR13MB4787.namprd13.prod.outlook.com ([fe80::cb14:3d5c:d948:207b%5]) with mapi id 15.20.8699.019; Wed, 30 Apr 2025 17:09:53 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: "Dongjie (Jimmy)" <jie.dong@huawei.com>, Joel Halpern <jmh@joelhalpern.com>, Loa Andersson <loa@pi.nu>, Greg Mirsky <gregimirsky@gmail.com>
Thread-Topic: [mpls] Re: PSD technical issues
Thread-Index: AQHbuRucxUZ/wvr1G0yQl1iW5C5LY7O7bVXwgAAJewCAANWwgIAAJQDw
Date: Wed, 30 Apr 2025 17:09:53 +0000
Message-ID: <BY3PR13MB47874D709A516D5503C788799A832@BY3PR13MB4787.namprd13.prod.outlook.com>
References: <026801db83da$30a3ec40$91ebc4c0$@olddog.co.uk> <9D3BA859-A778-4DE6-9839-401ACA913861@tony.li> <027901db83e1$104f6300$30ee2900$@olddog.co.uk> <db7fc5cb1f4544f6a03014274351e515@huawei.com> <CA+RyBmXLtNPe5hfTswXtnEF7sk8YifZ7GpMv8+QH5yz+hqJEgA@mail.gmail.com> <BY3PR13MB47870B745E9E819A0285B7659AC72@BY3PR13MB4787.namprd13.prod.outlook.com> <9cc9b17a-a9ba-4f1d-b3e7-20643c530e66@pi.nu> <BY3PR13MB4787FAC8DCF28DC3A6FBCEE39A802@BY3PR13MB4787.namprd13.prod.outlook.com> <5417fd83-90d4-48f1-86af-8fd528fe7b32@joelhalpern.com> <BY3PR13MB478768E31D3FBE4284E755959A832@BY3PR13MB4787.namprd13.prod.outlook.com> <54d853cb-b17a-4f9c-ac7d-f34f2bef8205@joelhalpern.com> <c78b20a6ffa94e7595b3178cfd887194@huawei.com>
In-Reply-To: <c78b20a6ffa94e7595b3178cfd887194@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=futurewei.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BY3PR13MB4787:EE_|CH0PR13MB4764:EE_
x-ms-office365-filtering-correlation-id: 645851fe-ac21-4bf8-1a9d-08dd8809d356
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|4022899009|1800799024|366016|10070799003|376014|38070700018;
x-microsoft-antispam-message-info: DFpLbMRGL26/tAsGJZV2W4NUYZLm4Kt9gFvfQ5cvyxpnErXO575D2Bj/x0P1F6DI+XrVhFqjIr11kQ5xs/PGqvlqDMjbBlm0UKayz8Jsgc+hUJuvXWS2d4bpOVz5VGrulCkJaxg7TeD0xOq4lB/XdEQB/uhny/r1G0qR5aSB0i6tRJ9ov0rwFz+Ird6MsxbKWOSovQS5uVUFHo6TRnUCj94o3N+bjMUU1z1poHObqXsuH+/n7kXwtXqHRmO9kQDkIvir0iVg8Axcjv9w1Is0cEaQsnOdq3pE9MSJ9yxyPO5oM+6pGkJ+Y4ug/OEb4NksBDJ9z/NqOthcWw7XnBZJKYD1Pxxmt2hL1e5XBmShjWKAxQSbzoWy12R8xveRKHc43K2PT6qOsy1Rx9kmmPVQn8LRfeCBiRzvEtXaxcRdkMbsYmvIawZFXM+bmrGIpaf3tMLOltCyCDuugvrDAnbaEgl7N1GfuR3r9zbbXInqaHTN9Wd27dZfmQQecrU0BHU7kLr7pxMiVmv9VVR7L8fUtkstZ3SL200xoQevgc8EQ7sX9YGgrb5unYL0JcQaxthboNyEN9V98Y7Qqwf8DQxddUqhwdO6EiWUlqzJD/+zDm3ATdR1UrdEDZFf5yKRw2Le5ghA1mRYkVropWewoQqgHhdJds+VzIFvMZO7wxaisCfWZAz5RGFTCfoxCDerjY4ldAihlA/QQZgis0ho6tV8dLZKGQGnegVN1aV3RNQtJapqDc8ggwhg9XygU1DORecD1e5Mo9hj58X4A7gyD1xyoGlzyt5Dqj1uaN4rMKVzIoyPH0k74kxAEf09BXfn2LE+0lTRY5l6xAqGCoTJ3CrphMbAkfZMbILKCc99gmddJvtIakd+9N1xIH5BoGVsFmpAmh3mZXvBzt5qPKTNEahezrcvj4nSBfaVDlRF/SHtLWQYIvEkcu8dh/Cu1aJIEkTxIeyJ8hPjGwGqXQYZlsOCGLVh0/dl6nEp5oJtf9teUpPQ7mhn6Hv8ERCModXHCK35Jz6t+OrsNWth/vo/bw9YruN9nbRsqXF54eXFSz08LDj74EiIHs7XhZrdhfmOy2HTOxcgPMyOEJdyFTsL7+7XH8QQhO9BzB/eI3DYWvKK46xqhmeMrtgQGtJUG8hF7PTRjkf5pBzhvJdZM2+IZ8pBSQwE7pAUh4VoO0kmUFfLmvcxjJyq8LFWjIo+sWj8fUljNAmIJoRgz0gjxXFcZbODf4BKGnCaThlLJTM2oYjvFuPnkaVBdqAyI4kC1vVhHRXHvaIPimHnSPb6zJdR3egz5D0oCGPl6ouC7RgDxQns7UMfJME9K8Pz7akCEIjp2RGDV88AqH1RNVN59XEDjCkz8iU5ozFZE+3u22zlMmYs3lg2bJcmNQRNyPueBOqFtonQmICMYSzls/Yngfs4WqDsMJcQoVUypqDUMq0jCi6V/Uo=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BY3PR13MB4787.namprd13.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(4022899009)(1800799024)(366016)(10070799003)(376014)(38070700018);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: +wZrIWYsTl4VuP2A+JdfdYSscEf/0ydd0wGJOU0U4X7pk7RNz8y/ah99Y1YJBml82XMFrJZ0tk60KT/alt/fAuJvg9MK0tKNpTsDRUpf4rqnTbwEMuLgTBOrXTA8GuxJwn4Yw+vjVQc4zdZzjiqb2CRqnwxXxnUDJCEuZLgweUtp2Mrv4qEnJZfVArTfUC8jP1cObfAVoMwyZIzJaa2mXorBuWHBtB0XFS9aSQ+R4kHLs8S9B4ODf6vnBQBEIlBMgukePSxPaFCw9WoWXh2Ejmt7Fv4xhsnF/2H5q9cFKW0KIixWTmSNHGw96NTvVsIdepOtqrKRrPZAcca6b+RCxJuhaDtY3h6oSu3CcxBjBMPWdogr3RrJTf2fjG40dbFxdCpsn0Ze+NoyhestnslIZMe1VlUpQ8tubWFOvqwqnApxqOIdZwdBkR/gOdTCMjriAslwjpRDUTtxkSIWxZpQNiLlC72mdwhwUMyKWZ6U3Rb7tqGV/FTkBCXGapW4MdJ6aFvZyl4oA+dx0f1npUmQA3Bi/mM6oR6fMl2gY6yzTK5Z47AMfPpnevMaL4VqnDU4dx69gBlp74vXtKREj1i6XwHCZcU8Zl/TINLS9rHE/GxqYFlQTF7DfeiBtWJM0STileEsqKLz8GN/+l+zwosCfXuyt7b9vUrFEKqyNJvqcdG8zjtUFkF8ti9Qt1nXXKgVuOfB+UZEHc32xIOTqEXG+gMQKK3bAiPL0gbUpdXCpB8AbHtc7kU+tLGTD6dam8GGIxhzVCiA3T5zocDCKaDe/rrmhAjRaoCc9AAVhXmCII2SbjNVZVsJ8qjepzyKfLpiFGc1bcjuJ7f7UI57vqKtxFeTk2p8KgRnafmLrvIQQnDvHwjBKHNMSlWOURz1hQSdwC0UCN0WSMba7bBc1N2o9sWANa8vMs3sgK8jKo6nKLLGkI3wwpPwc6JAM8YXgLfvGjbmVErScUmPQAVJpLPwALy4zRgAuUIDlq2aLK1BquKB9/6Udowf5F7QjQm9bMAjpZlSD0yXqLACpDEdigkkB3x35KWzc3lRrfEfDX+F/05VQY5qEdRTqfy9ZeYJpAfiFw/scaEp6T+ZtmpmFLE9zqYNJkR2zcf50tx+80AbQSf0qZEFBaI74P9w097m3exNsIcktZHf7aPF+B5r2Vy2WOrE3hgDQoZs1fypWa4Eb1Ng565VpTW+21apxi0vgk+ZRi/v9smWenh8oCDMV18Vhxc3uw+Y2VLdS5u+e8nVgNYrvST21DiSSsWEiNoK70xCGcHZctQoBCC0Dpgjw3y1SyMsgBRrnH9zn1GXAunDa2aGIfXKhsLpNDq4noAgSD40sPutkPXu+XO69UGdGvOczmBcmK6XrmERtQ0Iw5R8sh0DoRNB/oGnAhsAAdo0328CEXQH1msLXdVju2EqR6gMUDCGJQ4PjjFdE8ULq+/W+Hw7r0YfWUjsKUGpWHy3OAY0v2Gck0AT3FODqvmAZAbutgntablzeuGrBAqMI57zjGTda2rIdJ9cNWhrIJJDnKnrUe/X28cQqEwOhQUTKxhg/aTVe1ZxPlzOUbNFCFeTjyYfNd6M+XbRMEZqNK7QerTl
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: Futurewei.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY3PR13MB4787.namprd13.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 645851fe-ac21-4bf8-1a9d-08dd8809d356
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2025 17:09:53.8139 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 0fee8ff2-a3b2-4018-9c75-3a1d5591fedc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qLtbvDNwSnDW/uItKe5RbtLDh5cG1z2NvBGGuO1+PamudVd3ycF/6flo2A8dgkPubapgwNLVEXqRdfk31leD6Q==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR13MB4764
Message-ID-Hash: J7DIHELBAEK7V2QXKP2XRIGTOYDNCEQ3
X-Message-ID-Hash: J7DIHELBAEK7V2QXKP2XRIGTOYDNCEQ3
X-MailFrom: haoyu.song@futurewei.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-mpls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: mpls <mpls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [mpls] Re: PSD technical issues
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/QJeRjPHIdAcIGkiD3UARnNgMCw0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mpls>
List-Help: <mailto:mpls-request@ietf.org?subject=help>
List-Owner: <mailto:mpls-owner@ietf.org>
List-Post: <mailto:mpls@ietf.org>
List-Subscribe: <mailto:mpls-join@ietf.org>
List-Unsubscribe: <mailto:mpls-leave@ietf.org>

Jie,

I think what you proposed is clean and ensure the long term evolution and protocol simplicity.
Fortunately we don't have many existing cases now (3 as far as I know) to deal with and two of them are still at the infancy stage. So it's not too late to do this.

Regards,
Haoyu

-----Original Message-----
From: Dongjie (Jimmy) <jie.dong@huawei.com>
Sent: Wednesday, April 30, 2025 10:52 AM
To: Joel Halpern <jmh@joelhalpern.com>; Haoyu Song <haoyu.song@futurewei.com>; Loa Andersson <loa@pi.nu>; Greg Mirsky <gregimirsky@gmail.com>
Cc: mpls <mpls@ietf.org>
Subject: RE: [mpls] Re: PSD technical issues

Hi Joel and Haoyu,

Regarding the discussion on whether offset is needed or not, I used to make one comment to the list: https://mailarchive.ietf.org/arch/msg/mpls/zm3srJh01eKZaCXkpuDQmHcSiBI/

If we really want to make MNA a unified enhancement to MPLS data plane, we may want to consider making PSD a generalized approach for all post stack information, then PSD always follows the bottom of stack directly, and there would be no need of offset.

Best regards,
Jie

> -----Original Message-----
> From: Joel Halpern <jmh@joelhalpern.com>
> Sent: Wednesday, April 30, 2025 10:07 AM
> To: Haoyu Song <haoyu.song@futurewei.com>; Loa Andersson <loa@pi.nu>;
> Greg Mirsky <gregimirsky@gmail.com>; Dongjie (Jimmy)
> <jie.dong@huawei.com>
> Cc: mpls <mpls@ietf.org>
> Subject: Re: [mpls] Re: PSD technical issues
>
> I am not sure I am properly understanding your questions.  I wil try
> to provide answers to what I think you are asking in line, marked
> <jmh></jmh>
>
> Yours,
>
> Joel
>
> On 4/29/2025 9:54 PM, Haoyu Song wrote:
> > We have discussed this before. There should be some ways but using
> > offset is
> a bad one.
> > Can anybody give me an example that any existing header uses the
> > offset
> mechanism? Typically for packet processing, all the header data are
> sequentially read up to a point and the data will be used to
> reassemble the packet at the egress. Skipping some part of the header may cause data loss.
> And existing hardware parser can't support parsing headers using
> offset. Okay, a software solution may be able to handle the offset,
> but in the MNA case, there are some other implications:
> <jmh>It is nice to say you don't like offset, but we need some means,
> and you have not offered an alternative suggestion.  Unless you want
> us to give up on PSD, the offset seems needed for multiple cases.
> </jmh>
> > The offset is mutable in at least three possible cases:
> > 1. New ISD substack needs to be replicated due to newly pushed
> > labels. The
> offset needs to be recalculated.
> <jmh>The offset is from the bottom of the stack.  I had wanted the
> offset to be from the opcode itself, but the problems of stack
> manipulation were pointed out, and we agreed that offset from the BoS
> would work, and is stable.  I know of no case in what that needs ajustment.
> > 2. An existing ISD substack needs to be reinserted into the label
> > stack
> because it's exposed at the top. The offset needs to be recalculated.
> <jmh> When an ISD hop-by-hop option is exposed and removed, there is
> no need to reinsert it.  There is already another copy lower down in
> the stack.  That is part of the rules for constructing a label stack
> with hop-by-hop ISD when the combination exceeds the RLD.  And even if
> one needed to reinsert for some as-yet-unforseen reason, sinc ethe
> offset is from the BoS, there is no need to adjust it. </jmh>
> > 3. If some data are allowed between the label stack and PSD, then
> > any data
> length change there will also cause the change of offset.
> > Maintaining the offset is an extra burden and any mistake will have
> disastrous consequence.
> <jmh>There are no known cases where the data after the bottom of not
> defined by the PSD draft changes length in flight. </jmh>
> >
> > Also, I asked a question before, but nobody answered me. We know
> > there are
> 1+ use cases that all claim the location immediately after the label
> 1+ stack. Have
> they considered the issue you asked about?
> > If not, why? If yes, how it's resolved? Perhaps we can gain some
> > experience
> here for our problem.
> <jmh>The existing solutions recognize the overlap cases, and each deal
> with them in their own fashion.  They have certain advantages we do
> not.  For example, the pseudowire control word only needs to be
> understood by the egress node.  But we are not free to redesign other
> protocols to suit our desires. </jmh>
> >
> > Best regards,
> > Haoyu
> >
> > -----Original Message-----
> > From: Joel Halpern <jmh@joelhalpern.com>
> > Sent: Tuesday, April 29, 2025 11:30 AM
> > To: Haoyu Song <haoyu.song@futurewei.com>; Loa Andersson
> > <loa@pi.nu>; Greg Mirsky <gregimirsky@gmail.com>; Dongjie (Jimmy)
> > <jie.dong=40huawei.com@dmarc.ietf.org>
> > Cc: mpls <mpls@ietf.org>
> > Subject: Re: [mpls] Re: PSD technical issues
> >
> > If you do not allow for an offset, how will intermediate nodes find
> > the PSD in
> the case that there is other information between the bottom of the
> stack and the MNA PSD?
> >
> > Yours,
> >
> > Joel
> >
> > On 4/29/2025 11:05 AM, Haoyu Song wrote:
> >> Hi Loa,
> >>
> >> I don't know why we need two PSD blocks with two headers. I think
> >> if we
> have two MNAs using PSD, they should be put together.
> >>
> >> Again, I object the idea of using offset at all. Such unprecedented
> >> header
> encoding approach introduces non-linear behavior to the packet parser
> and processing which will be difficult to support.
> >>
> >> Regards,
> >> Haoyu
> >>
> >> -----Original Message-----
> >> From: Loa Andersson <loa@pi.nu>
> >> Sent: Sunday, April 27, 2025 12:24 AM
> >> To: Haoyu Song <haoyu.song@futurewei.com>; Greg Mirsky
> >> <gregimirsky@gmail.com>; Dongjie (Jimmy)
> >> <jie.dong=40huawei.com@dmarc.ietf.org>
> >> Cc: mpls <mpls@ietf.org>
> >> Subject: Re: [mpls] Re: Potential MNA technical issue - late follow
> >> up
> >>
> >> Haoyu,
> >>
> >> A question on the second paragraph below.
> >>
> >> Den 22/02/2025 kl. 03:14, skrev Haoyu Song:
> >>> PSD and ISD are entangled here because the PSD indicator needs to
> >>> be specified in ISD header. I think it’s crucial to have a
> >>> well-specified PSD indicator in the MNA header draft. If it’s left
> >>> unattended, we won’t know the implications which might make the
> >>> whole MNA fail. To me, PSD is more extensible, flexible, and
> >>> useful so I’d like to ensure it will work fine with an enabling
> >>> mechanism well defined ahead rather than leaving it as an
> >>> afterthought which might
> render PSD unusable.
> >>>
> >>> I also insist that a P-flag is sufficient, simple and straightforward.
> >>> Trying to use offset is a very bad idea which will introduce
> >>> unnecessary complexity to the parser and render many chips
> >>> unusable because they can’t support parsing this kind of header at
> >>> all. We can simply require that no other data can be inserted
> >>> between BoS label and PSD. If we really want to support PSD, we
> >>> shouldn’t try to add any artificial mechanism to the design.
> >> Let us assume that two PSD blocks, each with a PS-HDR of its own.
> >>
> >> By setting the P-flag you''ll find the first nice and easy.
> >>
> >> Don't you need OpCode + Offset to find the second.
> >>
> >> /Loa
> >>> Best regards,
> >>>
> >>> Haoyu
> >>>
> >>> *From:*Greg Mirsky <gregimirsky@gmail.com>
> >>> *Sent:* Friday, February 21, 2025 9:04 AM
> >>> *To:* Dongjie (Jimmy) <jie.dong=40huawei.com@dmarc.ietf.org>
> >>> *Cc:* mpls <mpls@ietf.org>
> >>> *Subject:* [mpls] Re: Potential MNA technical issue
> >>>
> >>> Hi Jie,
> >>>
> >>> AFAICS, PSD is an optional mechanism to realize MNA functions.
> >>> Furthermore, it was sufficiently demonstrated that the proposed
> >>> P-flag in MNA Header is not sufficient to signal the presence of
> >>> PSD in the packet. Considering that, I believe that a note to
> >>> optional use of PSD in draft-ietf-mpls-mna-hdr and that detailed
> >>> discussion of the mechanism to signal its presence and format of a
> >>> PSD are outside of the scope of draft-ietf-mpls-mna-hdr would suffice.
> >>>
> >>> Regards,
> >>>
> >>> Greg
> >>>
> >>> On Thu, Feb 20, 2025 at 10:49 PM Dongjie (Jimmy)
> >>> <jie.dong=40huawei.com@dmarc.ietf.org
> >>> <mailto:40huawei.com@dmarc.ietf.org>> wrote:
> >>>
> >>>       Hi Adrian and Tony,
> >>>
> >>>       Since PSD has been acknowledged as needed for some types of
> MNA data
> >>>       and use cases, I'd agree with Adrian on making this explicit in
> >>>       section 5.2 of the MNA header draft.
> >>>
> >>>       Another open issue is where should the PSD indication
> >>> mechanism
> be
> >>>       specified. To my understanding PSD indication is part of the general
> >>>       MNA solution and is orthogonal to the encoding of Post-stack data,
> >>>       thus it is more suitable to be covered in the MNA header draft.
> >>>
> >>>       During the interim this week we didn't get chance to discuss the
> >>>       possible PSD indication mechanisms. This may be considered as a
> >>>       remaining open technical issue for further discussion.
> >>>
> >>>       Best regards,
> >>>       Jie
> >>>
> >>>        > -----Original Message-----
> >>>        > From: Adrian Farrel <adrian@olddog.co.uk
> >>>       <mailto:adrian@olddog.co.uk>>
> >>>        > Sent: Friday, February 21, 2025 5:48 AM
> >>>        > To: 'Tony Li' <tony.li@tony.li <mailto:tony.li@tony.li>>
> >>>        > Cc: 'mpls' <mpls@ietf.org <mailto:mpls@ietf.org>>
> >>>        > Subject: [mpls] Re: Potential MNA technical issue
> >>>        >
> >>>        > No, I personally don't have a problem with that solution.
> >>>        > Others may have, I don't know.
> >>>        >
> >>>        > The text could, perhaps, be a little clearer in 5.2 to direct
> >>>       applications to use
> >>>        > PSD. Yeah, I know one could possibly work out that having a lot
> >>>       of LSEs is not
> >>>        > very wise (especially as we have a limit to the number of
> >>> LSEs
> we
> >>>       can support
> >>>        > because of the size of the NASL). Just a few words of advice:
> >>>       nothing heavy.
> >>>        >
> >>>        > And the fixes for points 1 and 2.
> >>>        >
> >>>        > A
> >>>        >
> >>>        > -----Original Message-----
> >>>        > From: Tony Li <tony1athome@gmail.com
> >>>       <mailto:tony1athome@gmail.com>> On Behalf Of Tony Li
> >>>        > Sent: 20 February 2025 21:27
> >>>        > To: Adrian Farrel <adrian@olddog.co.uk
> <mailto:adrian@olddog.co.uk>>
> >>>        > Cc: mpls <mpls@ietf.org <mailto:mpls@ietf.org>>
> >>>        > Subject: Re: [mpls] Potential MNA technical issue
> >>>        >
> >>>        > [WG chair hat: off]
> >>>        >
> >>>        > Hi Adrian,
> >>>        >
> >>>        > I recall that we discussed this before and we reached the
> >>>       conclusion that
> >>>        > actions that needed more variable data should go the post-stack
> >>>       route. Do you
> >>>        > have a problem with that?
> >>>        >
> >>>        > Regards,
> >>>        > Tony
> >>>        >
> >>>        >
> >>>        > > On Feb 20, 2025, at 12:58 PM, Adrian Farrel - adrian at
> >>>       olddog.co.uk <http://olddog.co.uk/>
> >>>        > <mailforwards@cloudmails.net
> >>>       <mailto:mailforwards@cloudmails.net>> wrote:
> >>>        > >
> >>>        > > Hi all,
> >>>        > >
> >>>        > > I thought the virtual interim was useful in airing some
> opinions.
> >>>        > >
> >>>        > > I exchanged a few emails with Jie to try to better
> >>> understand
> his
> >>>        > > concerns, and then Stewart and I sat down for a couple
> >>> of
> hours to
> >>>        > > work through all of the possibilities.
> >>>        > >
> >>>        > > This is mainly thinking aloud.
> >>>        > >
> >>>        > > A big question surrounds how the NAS might be parsed by
> >>> a
> non-
> >>>       MNA node.
> >>>        > >
> >>>        > > The first part of the question is "What happens if a
> >>> non-MNA
> node
> >>>        > > encounters the MNA label?" Well, it shouldn't! The MNA
> >>> label
> should
> >>>        > > only rise to the top of stack at nodes known to be MNA
> capable.
> >>>       But,
> >>>        > > if it does, the MNA label is an SPL, and processing
> >>> unknown
> SPLs at
> >>>        > > the top of stack is well defined.
> >>>        > >
> >>>        > > The next part of this question is "What if part of the NSA
> >>>       looks like
> >>>        > > an SPL?" The most concerning case we have at the moment
> >>> is
> if
> >>>       it looks
> >>>        > > like an ELI to a non-MNA node that searches ahead for an
> >>>       entropy label.
> >>>        > > This question is covered in the draft in two places:
> >>>        > > 6.1 tells us that Opcode 0 is not to be used. That
> >>> means that
> LSE
> >>>        > > formats B and C can never be mistaken for bSPLs because
> >>> they
> don't
> >>>        > > start with eight 0 bits.
> >>>        > > 4.4 tells us that format D LSEs must always start with a 1 so
> >>>       they can
> >>>        > > never be mistaken for bSPLs.
> >>>        > > So all good here.
> >>>        > >
> >>>        > > The last part of the question is "Suppose a (legacy)
> >>> node does
> ECMP
> >>>        > > hashing by reading the first n labels on the stack?"
> >>>        > > Since it doesn't know about MNA, it will find Opcodes
> >>> and ISD
> and
> >>>        > > treat them as labels.
> >>>        > > This is not a problem in itself, but if the ISD can vary from
> >>>       packet
> >>>        > > to packet in a flow, it can lead to packets taking
> >>> different
> paths.
> >>>        > > This question is covered in section 5.2 which tells us to be
> >>>       careful
> >>>        > > which ISD bits are allowed to vary.
> >>>        > >
> >>>        > > But it was in re-reading 5.2 that Stewart and I had
> >>> some
> worries.
> >>>        > >
> >>>        > > 1. The text says:
> >>>        > >       if a network action encodes data
> >>>        > >       that will change during packet forwarding
> >>>        > >    While this may be interesting for OAM, what is more
> >>>       interesting is
> >>>        > > when the
> >>>        > >    data is different on different packets in the same flow. So
> >>>        > > probably change
> >>>        > >    this to:
> >>>        > >       if a network action encodes data
> >>>        > >       that may be different on different packets in the same
> flow
> >>>        > >
> >>>        > > 2. s/Indicators those need/Indicators that need/
> >>>        > >
> >>>        > > 3. There are not many bits that are allowed to contain variable
> >>>       data.
> >>>        > >     This is a bit grim. We reckon that:
> >>>        > >     - No bits in a type B LSE can be variable
> >>>        > >     - Only 7 bits in a type C LSE can be variable
> >>>        > >     - Just 11 bits in a type D LSE can be variable
> >>>        > >     If you wanted to carry something like a time stamp (RFC
> >>>       8877) you
> >>>        > > need
> >>>        > > 32 bits
> >>>        > >     or even 64 bits. That would need 4 or 7 LSEs (BDDD or
> >>>        > BDDDDDD/BCDDDDD)
> >>>        > >     instead of 2 or 3 (BD or BDD/BCD).
> >>>        > >     There are some possible mitigations:
> >>>        > >     - Use an entropy label. This allows any implementation
> that
> >>>        > > supports entropy
> >>>        > >        labels to not hash. But:
> >>>        > >         * it costs two additional LSEs
> >>>        > >         * it doesn't help with implementations that don't
> support
> >>>        > > entropy labels
> >>>        > >     - Stop hashing when you reach an SPL.
> >>>        > >       This advice would work for new implementations, but
> it
> >>>       doesn't
> >>>        > > help with
> >>>        > >       existing implementations which will hash their way
> >>>       through into
> >>>        > > the NAS.
> >>>        > >     - Follow the draft and restrict where variable data is
> placed.
> >>>        > >         * Use lots of LSEs. Not a very good answer.
> >>>        > >         * Don't send much variable data. A bit of an
> unfortunate
> >>>        > > limitation.
> >>>        > >         * Put variable data post-stack.
> >>>        > >     - Decide that we don't care about legacy nodes. This is
> not
> >>>       ideal,
> >>>        > > but an
> >>>        > >       operator might know about the nodes in their network.
> If
> >>>       this is the
> >>>        > >       choice, then the document would need to be clear.
> >>>        > >     - Choose a behaviour based on knowledge of the nodes
> in the
> >>>       network
> >>>        > >       and the (potential) path of the LSP. This approach
> would
> >>>       require
> >>>        > >       capabilities to be advertised (perhaps alongside the
> RLD ).
> >>>        > >
> >>>        > > Cheers,
> >>>        > > Adrian
> >>>        > >
> >>>        > > _______________________________________________
> >>>        > > mpls mailing list -- mpls@ietf.org <mailto:mpls@ietf.org>
> >>>        > > To unsubscribe send an email to mpls-leave@ietf.org
> >>>       <mailto:mpls-leave@ietf.org>
> >>>        >
> >>>        > _______________________________________________
> >>>        > mpls mailing list -- mpls@ietf.org <mailto:mpls@ietf.org>
> >>>        > To unsubscribe send an email to mpls-leave@ietf.org
> <mailto:mpls-
> >>>       leave@ietf.org>
> >>>       _______________________________________________
> >>>       mpls mailing list -- mpls@ietf.org <mailto:mpls@ietf.org>
> >>>       To unsubscribe send an email to mpls-leave@ietf.org <mailto:mpls-
> >>>       leave@ietf.org>
> >>>
> >>>
> >>> _______________________________________________
> >>> mpls mailing list -- mpls@ietf.org To unsubscribe send an email to
> >>> mpls-leave@ietf.org
> >> --
> >> Loa Andersson
> >> Senior MPLS Expert
> >> Bronze Dragon Consulting
> >> loa@pi.nu
> >> loa.pi.nu.@gmail.com
> >>
> >> _______________________________________________
> >> mpls mailing list -- mpls@ietf.org
> >> To unsubscribe send an email to mpls-leave@ietf.org