[mpls] Re: PSD technical issues
Haoyu Song <haoyu.song@futurewei.com> Wed, 30 April 2025 16:47 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 1C778233114E for <mpls@mail2.ietf.org>; Wed, 30 Apr 2025 09:47:45 -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 mms1p9hIk6mm for <mpls@mail2.ietf.org>; Wed, 30 Apr 2025 09:47:44 -0700 (PDT)
Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2103.outbound.protection.outlook.com [40.107.223.103]) (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 EEE8E2331146 for <mpls@ietf.org>; Wed, 30 Apr 2025 09:47:43 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xjyWRk21y79rCva4XdoHJakrW3ews1liLpFTg4r7T61iHI57oHYUZavT2iFBe2AgGrrWxUtIOOVNY0vxUjanwdn2XY6mJeR3fUUiwUDW4oMUS+iU46Pj8JPQFClIVSL4BUsvF/VZvIXksSGiB6M/kr+2wUci8YXo3DL8mw8u9pZwcAcHMAOSQZ0rjzuNidpcipZbIzk0Cl/1RiuixQqZeNP3Xsnj32oazpPFa6Hasy0yW7P9RWHidUBMTPCoUnSz20lJxAMj2kqB75upKbSTY7wI1weVbUUQB7+RtwgjaQY/vCZq5f8cKvDA+DSYJlTYtSeRpfGY8FlsO1NEEKmSjQ==
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=27ZknLY98x/b48JhTn792Ttggk6/nBJX/QZJMEcsXq0=; b=ksIWukGbdiOAhJEMzlbYsEnM23LLTnLAP9OE9kich+QhyoF1onqQUU6BIxwQQZAMZovaKb/mlTdyV/Exdwayyflv+FN5YJsJR40V5foE3nDKoJwcD9zHZTOO+FIIIfIeg21DZpNbeyPqqjvm+dOVWUo/gB+AxxRds5jcAHTJCPa72SUfZsXvVUUBFVTThxQwLelB06rw22CIQNqJY7Ikfax1SyyCpYdRlrhQgbA7C2yhXzi02dgHDfmDbV1glJhGbgzQ7uztgSxCb2ygUNaUSjaECRWrUKqhbKmoX/g2YK8xW/fPbtV0gyJS3uHWrBT2eD5DcWM2WlF6/JQmp1wOeg==
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=27ZknLY98x/b48JhTn792Ttggk6/nBJX/QZJMEcsXq0=; b=KK7Ky5LDNA/Em+bSMJZpcgF2UOX58Ccp6umEjn/k7rq6OaY5J1rGhrXvCHTnp8A8GEmMFEn9pAixjyp3E02zVahqJhW8Ws8cl/THoWlsy+k0nmwqnj1N8PlNybFbjZ4YFm4ZbPqUnAIdmNRnEsN7lB5W6cx9mx4GQ6ABXRLcLHQ=
Received: from BY3PR13MB4787.namprd13.prod.outlook.com (2603:10b6:a03:357::13) by CH3PR13MB7117.namprd13.prod.outlook.com (2603:10b6:610:206::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8678.29; Wed, 30 Apr 2025 16:47:37 +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 16:47:37 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: Joel Halpern <jmh@joelhalpern.com>, Loa Andersson <loa@pi.nu>, Greg Mirsky <gregimirsky@gmail.com>, "Dongjie (Jimmy)" <jie.dong=40huawei.com@dmarc.ietf.org>
Thread-Topic: [mpls] Re: PSD technical issues
Thread-Index: AQHbuRucxUZ/wvr1G0yQl1iW5C5LY7O7bVXwgAAJewCAAPHlwA==
Date: Wed, 30 Apr 2025 16:47:37 +0000
Message-ID: <BY3PR13MB478798DE8237EF923BD355F99A832@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>
In-Reply-To: <54d853cb-b17a-4f9c-ac7d-f34f2bef8205@joelhalpern.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_|CH3PR13MB7117:EE_
x-ms-office365-filtering-correlation-id: 0e63a2fa-aa31-4556-fa74-08dd8806b6d0
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|10070799003|4022899009|1800799024|376014|38070700018;
x-microsoft-antispam-message-info: MGHZpRdt/25FcV+1LSuNETtyQgljnGyPTfn0dlj7rTdPToRbqCMfB4QNEqoEssv/NH1E6v5cBk0XRxXlPX+tQLQD0zXEeSUUoz1SOHenUmLcVAbj7NDe1+rAv43zZ43Z0WXHDhsZQ6aGTr2/pmKfHekCMZyAEzFs5hAEsRsmIqJ0VQHu/i3AeBUsJW+sJgmDmJQGnYmCdvdQ8J5dx7ImivZpx6yWE89KhgP2BRsdfm9PwJne1a8OFDXdNT/NignCo3gE+AEMK/1DctzmhmSDIrNjR48gS6z3+/M0fCdfAMRrAGYP51kFHebB/YDzMJxGZJsPYEy7/Rd2oTlB1C4hMhKX5hErJe05TbtPKI0pEDii6offg4lBg3eMR/JkP8IFWNVto795MY/JfBKa3K52+BjpN8DwQsy11ZoU6MvFGY5wDi/cXjJHOe/yyEvGkX2S5sTeGHgNZm49uzIQsYbN1bZrBAKKpmmb+nV9KxpKXRKTVhcvejj6VqGH0MmtwQ2sueTnjDnDgjz1d8M8vpe70RdUJvgve7Uu1BO+tjlSzVoT19F0eFktvsfnRY497OSswL+OHvQ7K3kwF9SandBspvLT4tMNZt+8dqhUXbVj5hovTp7Jck5JXJJax3/ujNjrnFLQc1byazA5Jx7ZGnHsecLigFlSo5+/DbHIQE8XgqaUkHfncpOiRv6eMVUfW3bHEhcoWePi3tL2kSpCkDWNW1nIBlxqaVpVaQpngzyrHWXZ7Z02lW8QpO48JeCcL+jPa7tP/ivDPjF2fsmiEZcvMEEL/YZsfbi+lPU7IH6450+mI56ZMLkQvMqCSKRuBrNadwtAV8fGLQQnko/HEIQG8K5m2fEFMFiE43rl3fuUz1anaBEzlPuJvvEJBZX5UwFlKC7L8s39ViwchXTrNvrSbkPcFexWJDN+zyDRpq8dLVbxEvwLBSYkQjRCmJL+GbTGnCHDLarFW+xyy99IyMjXq1KXbjBx95ysIPtqvGczvkGvt6rcdEcF0midOP+wpFOeO/3wb+Eisk3wrj0gGqZ+8Onnd9GaytBQtqmL7MCje3fHfdGC0TgQoNmqyIbNzFjurepIVcboWw4KAH8a4Z0yw/RmO8GOT3TT40FUAVQfEJNOM2cVRG6DmsftTLobloFzZR9R4YPxRKl2yT6x02HB/AxQk3kA7S4PzUvMp0kxq2mh3OlhOuow0Ww8c7tFvMAiAwZCun5+AY5+cR51ErN7Lhne3+CXxw9NkRf55q4+5Qw6J6HKamlNSvQ9gsVFyPcXtXdpmZpdOvy05kAWpsfGnthOXCEyjaLzZFkDQ0JrWanN3WEnTumLh0FkEyRK5Lfmj/mvntXmyQ/rf29MMr3zdWTQj6bm4HpemFhz7rGIsN/WxdmBfUTnrjd74H70Fx4/2HW72OsteoOwRN/SDv02oywd9OMGmh1N55UjRsWAMN0=
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)(366016)(10070799003)(4022899009)(1800799024)(376014)(38070700018);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: SPd02kDjITK0ChM+FgNFqpG2ODcMS8oYvagzlc9HNijegYQVU0ksNSAUVXDdJD3F2cS73P41pKGM5Pfli1C6n2L7GnZjvGVrlrj3j6FBkDVij0UhTswuiNS8uM2Igwe6lEJ4BgBsBIx5nCtS6OQsYXMW7kJ4ugpPxH/QCjnUkQB/3glZ1leSb1tltIUxOqF8n2POjcGvFymBoVcIdcIlAzaeZwJfmmT+NwvpMa/a/TmAsNSHwQ1KOZnQqrz5wb7eFzgCPJTz0Z1mGxba5hQL3zVM6DWnDm0X7otzh+RBg+lHAGQpysFgunI/SkzqZobn8LMVPYFv5zLfWzTS6tiHRMEg9eTUWiswe1v56m3c5ZkIXG5RxvVPv2fkq6ToUe0I+fqk3LguRr0vlFfDpQeQf8Uaf7lI6wTdORqSBh5Y0+GmL7y+6Vjc6FBd5Juxn9TJSHV0YD9pBOTwu5x74UFY2XATQkZUZE1GIGFY/kOsvaJ0vMyFfz9hX6NSbDPFHWRImCfnapu/x5BOA3X9Odw05S1IzJ/WnisZ8k1SVU6A33XgA+zh15KzGWaeMkG7YR1wmq/mXqNIt4bNdHMT7fLlfP+wodD4Im/IivKBa5Yo9CJT1K7xSIpQvbpicqytx5Gs6uPoYD+h1Q2oJ6CaDfOFAt+zL0AvNTcQclgXxZplIQQXJKfpTeeMSGSL4nJlUPl+EMd8nX+xeCpNdHlJCpHwzh+xe5I78a5pXFRqy2GxheCHZTEmAypqn93zOyjMIeEuBEvaqE0WH3IE9TKj3238CWQ4/OsXmC0LwsblUkM052Jc3a2IBFoY2gDbg37dqL4+rSlhqC2P8IUu7OqOricYNnK0n341ps1Y10WwsDF84D9V9EnYCnISk1DA0N8/Nw5tLDNKvExGF1AMgFkVQDbvNnnoEE9r9i285HLSIg8nSrnE2dCZn/QrOAagu6FbKsJCgDWyc7ulX+4ILSKI0s5feN/VSXDoSBznjRaGcvT4H51rpnhvGD4ekDcnHMKdExef7oPnbDX0PFlgmDzzbHcZHgrNsnWddk/zE/rF9JiNhgrH4CYy7PLkL14tkJcFmb3SqsMOEZ56V+3U42PDyTPUbi3z70Ahj9KMFozKpaHtRgwocHcuoE2lCjGIIVmllYyF8s8AABO7q+k6tlDyM2EPGcf9YTI1mkLMexQYbQnQ3uBffy4M7a1VfqNNoyHNN9QfWd5mMo2jHCMhf6gA5qCaUY5VjvQY7DC3RotD7heHhdlKRZpz1EjIMjuIwnqWrmOPy/qWJoagkx9C8UEATnT7zlfmN1jB2Se2zvbP+3lAtbyh/RBB9eyb4IOmPCkqH29XjiiuRIKNn8wdYvqks1UjsvOUtI/xYp2RIqAFaTY7Bjn5H4HSe30c4y2Y/r2id/8/sV44IiSak4rR521qVZkJYFLPPBq0WDH4f70003b+PHVDfu9vnUc3dBxNOSdYt0LAzS6DpopRV34oUlNwRfO9osYlRamJD8bQR5GrlWn54g59mMBwmZ4BjrbvHwXc5cdOMslG6ztC3587Y5HgjLtCSxhQzFK92S5ZQHTNZWSy+JMeUD2QaVJ6dlbEWG9DMMek
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: 0e63a2fa-aa31-4556-fa74-08dd8806b6d0
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2025 16:47:37.4615 (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: BIYPy12qN0OZSqeC3dUA+vieOJPmtd9b+lba1eo0aOf/7BrXyCJzTY6XNYBlf6cM7w356Hcxbv9zspmedXpDQw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH3PR13MB7117
Message-ID-Hash: 63XQTRCSJ6WVE723KXR2OTJNSTORFOKE
X-Message-ID-Hash: 63XQTRCSJ6WVE723KXR2OTJNSTORFOKE
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/OAnHym-XKn7GYRy5wx-_d9kKdIc>
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>
I think we should only consider the existing cases one by one. For the pseudo wire control word example, if it's only accessed at egress node, then PSD can be located before it. For other cases, if the data needs to be accessed on intermediate nodes, they must be able to be identified. We just follow the normal sequential parsing until the PSD are found. Another simple solution is to make these competing cases mutual exclusive, or obsolete the competing cases and unify them with PSD MNA. Regards, Haoyu -----Original Message----- From: Joel Halpern <jmh@joelhalpern.com> Sent: Tuesday, April 29, 2025 10:07 PM 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 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 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
- [mpls] Potential MNA technical issue Adrian Farrel
- [mpls] Re: Potential MNA technical issue Tony Li
- [mpls] Re: Potential MNA technical issue Adrian Farrel
- [mpls] Re: Potential MNA technical issue Dongjie (Jimmy)
- [mpls] Re: Potential MNA technical issue Tony Li
- [mpls] Re: Potential MNA technical issue Loa Andersson
- [mpls] Re: Potential MNA technical issue Joel Halpern
- [mpls] Re: Potential MNA technical issue Greg Mirsky
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Greg Mirsky
- [mpls] Re: Potential MNA technical issue Loa Andersson
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Potential MNA technical issue Greg Mirsky
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Greg Mirsky
- [mpls] Re: Potential MNA technical issue Tianran Zhou
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Greg Mirsky
- [mpls] Re: Potential MNA technical issue Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… Adrian Farrel
- [mpls] Re: Potential MNA technical issue je_drake@yahoo.com
- [mpls] Re: Potential MNA technical issue Tony Li
- [mpls] Proposed changes: Potential MNA technical … Adrian Farrel
- [mpls] Re: Potential MNA technical issue Greg Mirsky
- [mpls] Re: Potential MNA technical issue Dongjie (Jimmy)
- [mpls] Re: Potential MNA technical issue je_drake@yahoo.com
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Fabian Ihle
- [mpls] Re: Potential MNA technical issue Tony Li
- [mpls] Re: Proposed changes: Potential MNA techni… Adrian Farrel
- [mpls] Re: Potential MNA technical issue Loa Andersson
- [mpls] Re: Potential MNA technical issue Stewart Bryant
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Potential MNA security issue Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… bruno.decraene
- [mpls] Re: Proposed changes: Potential MNA techni… bruno.decraene
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Fabian Ihle
- [mpls] Re: Proposed changes: Potential MNA techni… Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Adrian Farrel
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Proposed changes: Potential MNA techni… bruno.decraene
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Potential MNA technical issue - late f… Loa Andersson
- [mpls] Re: Potential MNA technical issue Loa Andersson
- [mpls] Re: Proposed changes: Potential MNA techni… Fabian Ihle
- [mpls] Re: Potential MNA technical issue - late f… Tony Li
- [mpls] Re: Potential MNA technical issue - late f… Loa Andersson
- [mpls] Re: Potential MNA technical issue - late f… Loa Andersson
- [mpls] Re: Potential MNA technical issue - late f… Tony Li
- [mpls] Re: Potential MNA technical issue - late f… Greg Mirsky
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Stewart Bryant
- [mpls] Re: Potential MNA technical issue John Drake
- [mpls] Re: Potential MNA technical issue Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… Fabian Ihle
- [mpls] Re: Potential MNA security issue Joel Halpern
- [mpls] Re: Potential MNA security issue Tony Li
- [mpls] Re: Potential MNA technical issue - late f… Loa Andersson
- [mpls] Re: Proposed changes: Potential MNA techni… Loa Andersson
- [mpls] Re: Potential MNA technical issue - late f… John Drake
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: Potential MNA technical issue Dongjie (Jimmy)
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: PSD technical issues Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… bruno.decraene
- [mpls] Re: Potential MNA security issue Tony Li
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Joel Halpern
- [mpls] Re: Potential MNA technical issue - late f… Greg Mirsky
- [mpls] Re: PSD technical issues Loa Andersson
- [mpls] Re: PSD technical issues Joel Halpern
- [mpls] Re: PSD technical issues Loa Andersson
- [mpls] Re: PSD technical issues Tony Li
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: Proposed changes: Potential MNA techni… Joel Halpern
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: Potential MNA technical issue - late f… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Potential MNA security issue bruno.decraene
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: Potential MNA technical issue - late f… Dongjie (Jimmy)
- [mpls] Re: Potential MNA technical issue - late f… Greg Mirsky
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: Potential MNA technical issue - late f… Tony Li
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: PSD technical issues Tony Li
- [mpls] Re: Potential MNA technical issue Loa Andersson
- [mpls] Re: Potential MNA technical issue Tony Li
- [mpls] Re: PSD technical issues Dongjie (Jimmy)
- [mpls] Re: PSD technical issues Tony Li
- [mpls] Re: PSD technical issues Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Loa Andersson
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: Proposed changes: Potential MNA techni… Loa Andersson
- [mpls] Re: PSD (was: Re: Potential MNA technical … Joel Halpern
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: PSD technical issues Toerless Eckert
- [mpls] PSD and BIER - Re: Re: PSD technical issues Toerless Eckert
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Tony Li
- [mpls] Re: PSD technical issues Joel Halpern
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Toerless Eckert
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Joel Halpern
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: Potential MNA technical issue Toerless Eckert
- [mpls] Re: Potential MNA technical issue Toerless Eckert
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: PSD technical issues Dongjie (Jimmy)
- [mpls] Re: PSD technical issues Dongjie (Jimmy)
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: Potential MNA technical issue - late f… Greg Mirsky
- [mpls] Re: Proposed changes: Potential MNA techni… Loa Andersson
- [mpls] Re: Potential MNA technical issue Haoyu Song
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Haoyu Song
- [mpls] Re: PSD technical issues Greg Mirsky
- [mpls] Potential MNA technical issue bruno.decraene
- [mpls] Re: PSD technical issues Toerless Eckert
- [mpls] Re: Potential MNA technical issue - late f… Greg Mirsky
- [mpls] Re: Potential MNA technical issue - late f… Toerless Eckert
- [mpls] Re: Potential MNA technical issue - late f… Loa Andersson
- [mpls] Re: Proposed changes: Potential MNA techni… bruno.decraene
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: Potential MNA technical issue - late f… Joel Halpern
- [mpls] Re: Potential MNA technical issue - late f… Joel Halpern
- [mpls] Potential MNA security issue bruno.decraene
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Proposed changes: Potential MNA techni… Adrian Farrel
- [mpls] Re: Proposed changes: Potential MNA techni… Joel Halpern
- [mpls] Re: Potential MNA technical issue - late f… Tony Li
- [mpls] Re: Proposed changes: Potential MNA techni… Joel Halpern
- [mpls] Re: Proposed changes: Potential MNA techni… Adrian Farrel
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Potential MNA technical issue - late f… Haoyu Song
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Proposed changes: Potential MNA techni… Rakesh Gandhi
- [mpls] Re: Potential MNA security issue bruno.decraene