[mpls] Re: Addressing draft-ietf-mpls-mna-hdr review comments

Balázs Varga A <balazs.a.varga@ericsson.com> Wed, 05 June 2024 13:16 UTC

Return-Path: <balazs.a.varga@ericsson.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 195E8C1519A2; Wed, 5 Jun 2024 06:16:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ericsson.com
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 taMP_qKnesQQ; Wed, 5 Jun 2024 06:16:03 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2052.outbound.protection.outlook.com [40.107.21.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 27DB0C1519AD; Wed, 5 Jun 2024 06:16:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cDLIIC55Wc1QofTFCzbISC+CO3Vvf5hxT30auHxSlru2gCMXzJcYSZCdbPYEX+kYpHs/rrQGM2pA7JpN9RwT1U+DCnj/hTyRLIzLcQoCS8nTBWaY5oahiI8CXOXvGJPrE8azV1IueYKNAUck49GKI1nWTCux8HXN1vXe+g4BCDqqHt4gU1FxUEl/yD/zwGWGm3pZm16449R5P+0raSQkWHsI/ApyOCRUFfHGG48+1i0deaJNeDyM4aYwZ9JBkcz5MPZgn1YThWnMvDI7zjrIO2q71nSqBwnrIrhuUw/kpEl7CwMvJY9bPL/KXutnivouWviQZ3YEpz6TVPjh5qqN/w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=iBtoLLxSooa7Unjh/+derKYcMSfxCf5fjYu9A+USNNY=; b=Rqb9p/dSkKM9zuVs2mqThb3NjW3191Y+tovW/x05fYFB1DWOJXJaManaqXed4szS8bm4nHmULbw7oWcQN/PWVIB4Swh0S2/iMXp8y30My0orYJoSZk6RjQR/6RFRkh86lP000xCShezEwwQ2NQfB8LGvSJppYTwSZ7b3rxY1rvnHyEkImrcF313sxGOW76QsNlo5RNSyISIwjAd+VCSToJSZafI5chyKZNROrsDF6OKNCv2pIeupkmlhrBLguInlmkYfzQK9E+/phiNkrXGd2VPFiB1X28gyM4WoRh462054e8V6zdI0znmX8gGI0IUxgKNqEcNFbuBypx8liPBklg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iBtoLLxSooa7Unjh/+derKYcMSfxCf5fjYu9A+USNNY=; b=vVxTLFBHS1m9KyGEVhHNkzbkaQ9bfC3dl/7dS+UYVpXuY6O8wAGyl4EHQLsZKY2vNPjHDPraWS4EhwGZohXhyjcwaxafqVKxaXXEtzQkEmesEt7KPkx/9LwtlsxEGPXhGBjrN+8NKRQ2m/FleDDfF02B+ysTaLhayNV952PWt7iwvly+K0i+wjka3B5P6m3jOCp4Df+K+L//ks2WDUg5hdGIX+L5McbC8tXeL8o1LLR8UFDphEKfCaaK5B6Fcd7WBdzh2o8pdZ0SA0Z68ssyEYz8kRYM6w65i95+IETMaZpgwi0B4OTFdDiMZLxUebFCYyjFZHROJl+XZfz0GX93sg==
Received: from PA4PR07MB7214.eurprd07.prod.outlook.com (2603:10a6:102:fa::10) by PR3PR07MB6634.eurprd07.prod.outlook.com (2603:10a6:102:61::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7633.27; Wed, 5 Jun 2024 13:15:58 +0000
Received: from PA4PR07MB7214.eurprd07.prod.outlook.com ([fe80::8521:ac38:8ad:581]) by PA4PR07MB7214.eurprd07.prod.outlook.com ([fe80::8521:ac38:8ad:581%5]) with mapi id 15.20.7633.021; Wed, 5 Jun 2024 13:15:58 +0000
From: Balázs Varga A <balazs.a.varga@ericsson.com>
To: Tony Li <tony.li@tony.li>
Thread-Topic: [mpls] Addressing draft-ietf-mpls-mna-hdr review comments
Thread-Index: AQHatp7jlAEWs/6Fa0mUCjn0PKlYtrG5HfHg
Date: Wed, 05 Jun 2024 13:15:58 +0000
Message-ID: <PA4PR07MB72142BFF2D9F267EA7CF2734ACF92@PA4PR07MB7214.eurprd07.prod.outlook.com>
References: <084701dab3a0$ebb0e930$c312bb90$@olddog.co.uk> <6AE9AB41-9A16-4C48-84F2-9C77EC6F07EC@gmail.com> <0ada01dab65f$338910a0$9a9b31e0$@olddog.co.uk> <PA4PR07MB72149F147EF7D80BEF8E0F3DACF82@PA4PR07MB7214.eurprd07.prod.outlook.com> <40E5F580-BCE5-47DD-AA4C-0BA46DCD8597@tony.li>
In-Reply-To: <40E5F580-BCE5-47DD-AA4C-0BA46DCD8597@tony.li>
Accept-Language: hu-HU, 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=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PA4PR07MB7214:EE_|PR3PR07MB6634:EE_
x-ms-office365-filtering-correlation-id: ca6638aa-1292-47f8-f71b-08dc8561a383
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230031|366007|376005|1800799015|38070700009;
x-microsoft-antispam-message-info: WtImaOqEA1oZWQQ0J5bdia+G4BaAh4FojsfGGHLBkC3IIsd5u3M3sNyAg9g2cNTKWh6C4Np/yZkV73fRLRYXdEsEHsC0gAsnJFRj51DTgAoPXcq4+9FdM0xpG7NHyC0rHzvWgS/tnZScw+pWfw/qe9Np5JCIFWOzxeeNwA7N7Njjhg87nTYleCz/dRZs6tWtXEEHu9vJdxrrVKyk9iBDzCMwZcshg908vVVFK9H4UKm/2b3v6kizkV9cPoYDOugOtj5zpYtgxv3YoFOkaVHvl8KYaGNDOcOiW96AUN9Y34EtRsHGF3DdAZI0EM0SryOw0kdJT1iHZjZkzFQztDGKoLreGYPND2Eb+wrenpAxeN1RzSbEigZGWWel9z3ZJ1q5chLazIxuAtJbX4yUp4Ve8MKvIkdMaQ56AX2WXA3JIrh8NH5chNupRmbY55XP/n+rkAEtXxmTtFB6kIKNeFYE5vWOxeEfB5qHtgjc0zcRpEpglr3lI3R9DJvPClNMcitkeVs8ssG05kS7czjSkpUHBeWXmi4UuGIXXJ+3KaSwF5Ue/kl9Zh2jW9xK7FBAtJnH9qGPC42o/DwUl2lESlpW8pSN6eBvttCrwevsCrlhHrG6fDUr8v2csx50xDXVuIiUzT8lDrqIM2NA8fI0GYHoLP+4eGg6yeDw3eaHmDdaBLyXLMrhW46k3rKvRfBx0kEky1PUM8+KbJfDnwmPOwlZdrZ2DoR9imGoojNO0p2TUQc8QMKNTF4yWdzWr1rjJ7ZZCNYhhAwvtpyS2mAOhr1iqxqykgjK/yB8t48rcC+uA1eMZv045F13v0S1Rwx2Wur00y9AICtOYiJNeC1jhwBTv8KECLN9CHkoIElNGvSczWOWbkxvdP+AITkr+YJx5xuLS8hZlqtGSKsE1CDQBJuRYU9XWpi85SfkicI6lcfYhty5Cjo95PRBb+Yeeypij0t22TW07gDmDvp73Y3iLdk8rFoDT4aJMj0ypNEz50p+JP2oAPIvU0YQDkbSHesS2vmgNf/HVSNBYMoUN9NJM9pSA9A7ssShfjY4dihc8r4fwGOgAaDQCXne39ZWYEwF9oqcxRBrV0YcSx/NBDXCKWQnT504+qA3+8E8G2yka7k0cBxje41gpvd9EiOi8JSSmbLS3E/zp1WcnHYT7tbHJvw0pzBon3n9XNTXmmBcRgw1asLsnQYywDtDxNU6Vt1yNDaiVIMNQt4n4NYNd1FH5MX4lHPop5tJL7h/Hx0543HX4ZmgjllXrMHAINjapUmvYZIbFufVFC2zjHZ5p/chvL3lBbSXHNxHxiriHP5WC4Hmkowc/J/XBl3D90PxeDWFf0iiB2dm/r8esxwfG0MquAZXSweM8boajypEzYuq2egDi1Y=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PA4PR07MB7214.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(376005)(1800799015)(38070700009);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: iOlr7tfZFbeoSobD0MAVdfjYyWf0tjkxpqZU6GBZa0Hjiye24W2gijxPUReptAvbvnaoF5XJeFJ1JnrhgyNfLHpQP6BTAsb+axIgzd+WUPknh96FkP3HWSC5h+EtUHzKcW/9w6UW0YwL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quMrL/VVtd+W+mou3PbsVAdooZgQ2koOIDymMid5z0s4YWilNGMsi9xlC80Wd1SAoFw9nC+Lylme2v8T73hEus+CntFSQQ2C14Ftk7FEgbCKPeYcwriQmjtQGHzy/jrnx2927eWU7vT/PlRM29BdIadt+nuaq2QKRhHINGiWwZAdRczjo+NC6C9I8Fmvd/iibZHgCuPOb7FRp/n2gMlUN0tjLw+kxfc3H7savGgMDMKI206AS/iq2e6qpQsEbvIcdn+QSXps1NQ6nyfxrvEO7L2329AsihonFhohcgudiLYH22JTpCoq8Qs3CVKVkGz3DcgD6BBxmCQ0uL0k8uBjYmPnI7YQOMCVmUK9f9Go7KCdoivtyDhqCke0aGeUPQN0TzriL0DbZJv70Tw==
Content-Type: multipart/alternative; boundary="_000_PA4PR07MB72142BFF2D9F267EA7CF2734ACF92PA4PR07MB7214eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PA4PR07MB7214.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ca6638aa-1292-47f8-f71b-08dc8561a383
X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2024 13:15:58.1024 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 0V+3XrTfQbQSnT+M7UpJt7Jjcho2xO3rK+P0BDGClTopiUCDxEKv20Hg2YBv/0mbJWq3Ugie1Ige8WySYZEbly2mr1hoFG3t4IIou2f8ugk=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR07MB6634
Message-ID-Hash: ESQHRUMCBNP5E6SEHLX4JU7ELNICAAOB
X-Message-ID-Hash: ESQHRUMCBNP5E6SEHLX4JU7ELNICAAOB
X-MailFrom: balazs.a.varga@ericsson.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: "Jaganbabu Rajamanickam (jrajaman)" <jrajaman@cisco.com>, mpls <mpls@ietf.org>, mpls-chairs <mpls-chairs@ietf.org>, "draft-ietf-mpls-mna-hdr@ietf.org" <draft-ietf-mpls-mna-hdr@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [mpls] Re: Addressing draft-ietf-mpls-mna-hdr review comments
List-Id: Multi-Protocol Label Switching WG <mpls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/oWUi8KGvxS9tf22pRM_KmUrOMyg>
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>

Hi Toni,

Thanks for your comments. Some reactions:

> The gist of this comment seems to be to allow Format B to carry additional ISD by having following Format D LSEs. Is that correct?
Yes correct. Otherwise any operation requiring more than 13 bits is allowed only in “Format C:”

> We did consider this approach earlier and it was the consensus from the silicon folks that continue bits were harder to implement than counts.
> We did not receive significant contrary opinions.
Ok. I may have missed such a consensus call. Anyway before finalizing MNA formats may
worth for a reconsideration, whether the assumptions during the consensus still apply.

> Many of those bits were used in a previous version of the draft to support PSD.  If we want to support PSD in the future,
> we might want to re-use them.
Is it not something to be defined by e.g., “opcode” characteristics?

> The opcodes in Format B/C are allocated specifically to avoid being interpreted as an SPL.  Yes, it would be nice to have
> one mechanism that would apply in both place, but consistently burning a full bit seems excessive.
Ack.

Thanks & Cheers
Bala’zs

From: Tony Li <tony1athome@gmail.com> On Behalf Of Tony Li
Sent: Tuesday, June 4, 2024 6:47 PM
To: Balázs Varga A <balazs.a.varga@ericsson.com>
Cc: Adrian Farrel <adrian@olddog.co.uk>; Jaganbabu Rajamanickam (jrajaman) <jrajaman@cisco.com>; mpls <mpls@ietf.org>; mpls-chairs <mpls-chairs@ietf.org>; draft-ietf-mpls-mna-hdr@ietf.org
Subject: Re: [mpls] Addressing draft-ietf-mpls-mna-hdr review comments


[WG chair hat: off]

Hi Balázs,



1, Number of formats
Agree, it is not possible to solve MNA with less than 4 formats, but they could be somewhat improved.


I’m not seeing anything actionable in this comment.



2, Order of the various formats (I think this is inline with Adrian’s former comments as well)
It is mandatory to start MNA with a “format A”, followed by a “format B” label.
But the rule for format C and D would be more optimal with the following rules:
- format D: it must have a preceding “format B” or “format C”
- format C: used if a new function related data have to be added to MNA

So the following format orders should be valid examples:
- A, B, C, D, D, C -- > 3 opcodes with data (one with “long” data)
- A, B, D, D, C, D, D -- > 2 opcodes with “long” data
- A, B, D -- > 1 opcode with data

Yes, that needs format adjustments (see further comments below), but would provide some gains.


The gist of this comment seems to be to allow Format B to carry additional ISD by having following Format D LSEs. Is that correct?


3, No need of “NAL”, use “Continue-bit” instead
We may get rid of NAL. I think NASL is mandatory and critical as it provides information where the MNA ends.
NAL refers to a single function. I think the main decision regarding MNA on a node is:
- Do I care about MNA?
            - If NO: node can read NASL and jump to the next label after MNA.
            - If YES: node can read the MNA and process it.

In case of MNA processing instead of “NAL” just a single bit (Continue-bit) could be enough to signal whether
the next 32 bit is still data for the “opcode”. Such a C-bit is somewhat similar to the concept of S-bit.

The usage of a “Continue-bit” would allow the new rules regarding format order (see comment 2.)
Furthermore it can support a cleaner format design. (see next comments)


We did consider this approach earlier and it was the consensus from the silicon folks that continue bits were harder to implement than counts.
We did not receive significant contrary opinions.



FORMAT specific comments
4, Actual Format-B in the draft:
- Number of “reserved” bits
I dislike the current Format B. Why to have 4 reserved bits? We have the “opcode”, so using some bits of
the data field as Flag is easy to achieve, when the opcode operation is defined.
The draft also names such an example in “14.1.1.  Network Action Flags without AD”.


Many of those bits were used in a previous version of the draft to support PSD.  If we want to support PSD in the future,
we might want to re-use them.



5, Actual Format-D in the draft:
I have found the leading bit somewhat strange:
   *  1 (1 bit) : The most significant bit MUST be set.  This prevents
      legacy implementations from misinterpreting this LSE as containing
      a special label.
In my view legacy implementations may misinterpret already Format B/C, as all opcodes below 64 starts with
zero. So this seems to be not a useful field in format D.


The opcodes in Format B/C are allocated specifically to avoid being interpreted as an SPL.  Yes, it would be nice to have
one mechanism that would apply in both place, but consistently burning a full bit seems excessive.

Tony