Re: [mpls] Another way...

Haoyu Song <haoyu.song@futurewei.com> Thu, 21 March 2024 00:41 UTC

Return-Path: <haoyu.song@futurewei.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 D48CDC14F70F for <mpls@ietfa.amsl.com>; Wed, 20 Mar 2024 17:41:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=futurewei.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 9WZbc8S8C99x for <mpls@ietfa.amsl.com>; Wed, 20 Mar 2024 17:41:20 -0700 (PDT)
Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on2090.outbound.protection.outlook.com [40.107.96.90]) (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 22731C151083 for <mpls@ietf.org>; Wed, 20 Mar 2024 17:41:19 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z//IbGHglv7xAooaVjU2XDh0+vgHoVxz9yavqrpOEjGFjGjDtNu3OzCUwOVf482ixc6Or1PXOQyfitt2eotBH7NJdTnvUL/psOh/jSMuI41YHjAPg9IIIAp9PVg2RRbqrjgyHr+QuxOBgRoop4gDIiMuP8OQGjdoKk0lEzDGUeluc9iWVouS5Kv4B5oRT0IFVeWIfZU1yQIl4QGhRt/TadmMjBiyinFGQSqQxtDOqy0rPxDJn7PUAmRWyYH43zMXhhdPlpiW17dvFSm8gqSkTmHhCMZC5xjV7EIhep8zIoCpZZzmxTq5LySLquU87QMJ7FxDikK6SSHswAPgrjDhpw==
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=7DdPgV3tdR53B083u+a2aKBo6HHr+a26s7DowgKt4rc=; b=T1CJ9tmpIayrOD0q0auWC/fW+fKa21zyRiVqq6ESkJW604MC8+UDhNZgngG/aYBrJHH/m1z/kzhnuqQ8KSrMIqnMvo7/i4NoN9LKnHw6p9T75BKBMyDmH3GWtNsGrvmXZgMJ/qk0nhzkPE5pea8FCDwTCQPCxYGUWk9MqWWD0anDipxMKiS3OTdhwspSG6nuKdvvQliZF+6XcDEcQsFSkIbTmS+6IE9fD9Wr/4061rSICYBjP53gJ4Lgzs/ycg2TktHmfqsx4Q4hG+VcYzvlIa6cwnhBqDI4idcqB/+lA7PHgJx7DmAzIScJqWCsDaTiQ9wLlQvGxQU5Y1FD3UFZRQ==
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=7DdPgV3tdR53B083u+a2aKBo6HHr+a26s7DowgKt4rc=; b=mmbJ0BosTLZIFI/Y7DE3g0uLX/v5wGxyDBv+Sx2fom72Zz5ZvbcFageMEEOXAwnOT+YBdnIPq6OtmBh5vJlT4Rppf/Z68o+MTcV63Vu5SxXJwpqmXl+Np773Xp/yk3IWy2vulaq8fyzJ5NrOsDaVRYVDDRTm+ZJLDi3mRrywC0Q=
Received: from BY3PR13MB4787.namprd13.prod.outlook.com (2603:10b6:a03:357::13) by DM6PR13MB4115.namprd13.prod.outlook.com (2603:10b6:5:2a3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.30; Thu, 21 Mar 2024 00:41:14 +0000
Received: from BY3PR13MB4787.namprd13.prod.outlook.com ([fe80::7335:1bd:8800:4cf]) by BY3PR13MB4787.namprd13.prod.outlook.com ([fe80::7335:1bd:8800:4cf%5]) with mapi id 15.20.7386.030; Thu, 21 Mar 2024 00:41:14 +0000
From: Haoyu Song <haoyu.song@futurewei.com>
To: "Dongjie (Jimmy)" <jie.dong=40huawei.com@dmarc.ietf.org>, Jaganbabu Rajamanickam <jaganbaburietf@gmail.com>, "loa@pi.nu" <loa@pi.nu>
CC: mpls <mpls@ietf.org>
Thread-Topic: [mpls] Another way...
Thread-Index: AQHadVtEnRoYu5k97kif47ubUR2ka7E1/3swgAAEmoCAAKmWAIAJBWAAgAGugICAAANn8A==
Date: Thu, 21 Mar 2024 00:41:14 +0000
Message-ID: <BY3PR13MB4787CA5E24A32C43A7EB72E19A322@BY3PR13MB4787.namprd13.prod.outlook.com>
References: <EC290C02-4B81-4ABF-B1D8-A36849C104AC@tony.li> <BY3PR13MB4787EBC452CB744B3EEFCC799A2A2@BY3PR13MB4787.namprd13.prod.outlook.com> <11840BF7-650C-4665-9E8D-8173F1451856@tony.li> <8e38ed70e0429b891cd89261e4221df9.squirrel@pi.nu> <CAPOsKjHcc5xrGRL-MEMW2TcYgrVXwO9o0MdekBwMTxC2zcvEHw@mail.gmail.com> <8c402657e45649528762f470d37237b6@huawei.com>
In-Reply-To: <8c402657e45649528762f470d37237b6@huawei.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: BY3PR13MB4787:EE_|DM6PR13MB4115:EE_
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Q95eGshy3OKi46FB08rf4sF5zAEHTN3CqD86bVDucuNleFGTY9M1c7dGLv25GsHP/kvLY+a+84rBc2fVwVHJKWylUTXUPG1Q1yq5CPW9uRDQ7OK4euNAiKb+Ig1ytBvMI7D0tKLUCwR1yPz5CpcS+1WDModruyEq9O9q9k9oyx2b4MQlB2qViq+/oc7fuTPKr1x0ArfnPIwOkc0EXJhdwkkDssD6Y2oF2F7ARsLZdHus1v23uExo9r6gU1Pew5OH4zRzW5CNPpLJJsnD50oLcxErZK+mwZcVB5AoifphyUnFrrNTh5KIp1+D3fIiCfzSpkhUz3AefLWHMbehSpgli32FBrVEIKHZhVRss+EtyzbGBH8PfU4KZoBn8vCkDmHHEixNOQ0xujvgdRGLlsKr+vckZN55NNdWA8koiwxCTS9iNyGXvV09TzfjajKyc34OXfdxfbVXCAP8uf2YHzusGQpFnwCL20CIEBmUXBrvfL2xDgKSEC5kZSByIhCZTVfC/cwbp2q2h+VrODkVEgz4tevCi4F3d3lQQh1/1+TF59ukeqYrlQ5V81uhekmFi0bWJXjDrroWSXXtnkBFpltLPAOMjW9iEh+VAp4iRNavNSE3lIPeXa4gHc9ItgQSu54k
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:(13230031)(366007)(376005)(1800799015); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: UeN9nPQbnnUCneHW4O8EVHSD+0cIpNkbcQdM08eU2zcjdEHRfF0f7efzXkLZcvy7aOM+A4rGebPB+4IpZJXYh8L1d1Q8nRuGOIJ41lrHt81HOa5aV+8d/2NjGiQyrSnjn1bAmRUCUM2UvmZYOo6gqyVvUgzFgLdatR1/PlHekrl9LnID3f5iVGHRMK72XfEFTTc+TfoFd3Hll3UHoGozBSeb9gp90iXsRh7U00WydbFi1/vUgDYuSuAVytkn926NFvourSGRFz6HHK5q67tc8NpT+dTrBRP3tzU6RZd2H7VwLFDjK/bmsFQDRZQIly2tgLJBMQQ0X7LPiIUGIfSoCnXSvWxSFkoKVVSYSPnHrOZZGjY1ZUlle6FJqmtL7oqsOWd5NvIUKzEkDTy8VTV7TNhG/s4Xim3g8b53DhYl3sri9SuSSDpD3YUfWnUYoanfDbgIuUprpzgouG+W6yHNdltZNzy5Kj0DZOTYCWF27T+dE+tbKBVrKLXGqeK7NzxZ7YAJwVSDxatGfz+PK6nXih22DenRkoWnwB3DDx8qEjatP2C+52gBc5WX7cdZtxXiyV2OBsaUbSxoTm6v9zjvKGOSaqnw4LGmoUJIB3DWErCGkrQI79dMW86iinbQ6qX5hvUCX22vJtybV6ZcQEwh0VV1/MkS6stkcEgslWkaiBa9d9PnLestmlsoYdJwLy+/r7IeeZAqN7w/LPWC9b29iui0URBnxICKpp0XkFexe9CFMjvSzYSs4fVyZ5hfWIyVGO+rCrDVuPgErmyDFjrUFDADqqybJzfcIgWoK9TT1McuwOxeSaZuQ9MZKFy/K+Bg4GpYdO0e5b/Pq/eTQcIoHPdQxxcd7mThHNxzXA3uCO1UGTxV9AJRD8GLs+Q8NY77A6VhgkN7wgGm3tYoRuMVJaQtThs5+HNvvPd+mtw2aqGvJAA8teTPaqyYG3rP2unxySZUj2+7LhFW//copt5OXmMtx9uQcjMy3C+mxcT/PuxDjkE9xltL+jkZS4/mLe/ZHoIOHSq5HqSxbeawm8Ht7aUBqhxOtjYutNT6wE/Oi6HpLYeHiKRUSnoXJs1fFSlzmlAeVNVyBWEhwXmFibdCQO/yXbg1gnCGUx2Za+haD1vm+kjXycLiSIuIEXYShG1Y7VUNnW/PuVIm5yTUNWW80K3PmEc2cXs5TXJCj4a2BScOl8pWHjVcRQD2AlVGMENDZr8qoTi+ctF1JOTZcgqqJxWsUjx4SJkxVrQ0pZ5Fq8aegKoe13Z/vUPsHTZurHl3Ryn98Ex6WQw/y73uZ3NdOn5FdJFrx5uEIgG3prGxIjcgnmN38gXCvXr5dt/fjicsFFuHvYR4QIuPG3TZldrR/bjAD2+fwWT0penCkwaw6JdrDj1PHJ9aldWs2gvFg7cdvd5mwHOu9ToeFsvUUw+2fN0qhnmwOufXSr9SiI/KqoR6zFQhyxsF9qkeCpPZoplcVbzz20wZZkd+f5b/QQA6MPnYl3mKgf1LaRyOw3qCEzCFjhicajAXlUEahEwldoJ2V2iWn9Wj/ucbh7tizhA3Sbxyo59OjXsg1S/xZlL+HBKp/nttlg1tPBEmB4MrA5Hn4LVFcpzkluZvcUSt6LYY86xOBXXaOogosa4YYxZw2Zw=
Content-Type: multipart/alternative; boundary="_000_BY3PR13MB4787CA5E24A32C43A7EB72E19A322BY3PR13MB4787namp_"
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: 33d62512-c91b-4c10-96be-08dc493f9d08
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Mar 2024 00:41:14.5821 (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: CUVhv2oH9f4tLItPxuhR/DtoLpfL/U81EDBcSICJoGy0oRStqS12cckG8vQd0LDr/aPahaMcNbzkTOf2nfctNQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR13MB4115
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/RPDIlkflMua6HagsP3WgixznD2U>
Subject: Re: [mpls] Another way...
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: Thu, 21 Mar 2024 00:41:23 -0000

+1

If we consider that the NAS can be replicated and its size can be changed enroute, the pointer mechanism can be very tricky.

Haoyu

From: mpls <mpls-bounces@ietf.org> On Behalf Of Dongjie (Jimmy)
Sent: Thursday, March 21, 2024 10:24 AM
To: Jaganbabu Rajamanickam <jaganbaburietf@gmail.com>; loa@pi.nu
Cc: mpls <mpls@ietf.org>
Subject: Re: [mpls] Another way...

Hi Jags,

Thanks for sharing opinion on this.

In my understanding the PSD offset opcode is optional and is not needed when PSD follows immediately after the EOS.  Making it mandatory for PSD would always consume one LSE and would reduce the space available for ISD.

Another point is the position of the PSD offset opcode in NAS is not fixed, which means for a node which only supports PSD, it may need to parse the preceding ISDs to find the indicator of PSD. This is not efficient in implementation, and also makes the implementation of PSD coupled with ISD.

Best regards,
Jie

From: mpls <mpls-bounces@ietf.org<mailto:mpls-bounces@ietf.org>> On Behalf Of Jaganbabu Rajamanickam
Sent: Wednesday, March 20, 2024 8:44 AM
To: loa@pi.nu<mailto:loa@pi.nu>
Cc: mpls <mpls@ietf.org<mailto:mpls@ietf.org>>
Subject: Re: [mpls] Another way...

Hello All,

    In the PSD case, we may need a new ISD opcode to indicate the offset of the start of PSD if PSD is not encoded immediately after the EOS.
    In section 6.1 of our PSD draft (https://datatracker.ietf.org/doc/draft-jags-mpls-ps-mna-hdr/ ). We already have mentioned that the new ISD opcode will be allocated with the format option of Format-B or Format-C.

    I think we could use the same opcode to indicate the presence of PSD as well. The offset could be zero or Non-Zero value.

    If we use a reserved bit in the Format-B to indicate the presence of PSD and in case we encode the new PSD offset, then still we need to add an additional opcode to be encoded.

Thanx,
Jags






On Thu, Mar 14, 2024 at 12:58 AM <loa@pi.nu<mailto:loa@pi.nu>> wrote:
All,

I have been thinking about using an OpCOde for a while, but have been
reluctant to propose it. Several reasons, but mainly as the encoding grows
more complicated we would either need a general encoding document or
include this in the framework. Until we make up our minds there is some
time and that delays progress of the other drafts.

Another reason is that sometimes it is an entire LSE, and sometimes it
is not.

If we have just one OpCode after the Format A LSE (Opcode P (for PSD) it
is no big deal.

Example:

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      MNA-Label=bSPL (TBA)             | TC  |S|    TTL        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Opcode P  |        Data             |R|IHS|S| Res |U| NASL=0|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

and

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      MNA-Label=bSPL (TBA)             | TC  |S|    TTL        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Opcode X  |        Data             |p|IHS|S| Res |U| NASL=0|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Is roughly equivalent :) (I said roughly).

However if there is another OpCOde


    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      MNA-Label=bSPL (TBA)             | TC  |S|    TTL        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Opcode X  |        Data             |R|IHS|S| Res |U| NASL=1|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Opcode P  |       Ancillary Data          |0|  AD   | NAL=0 |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Is less efficient than

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |      MNA-Label=bSPL (TBA)             | TC  |S|    TTL        |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |   Opcode X  |        Data             |p|IHS|S| Res |U| NASL=0|
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+




Note: The discussion we have now about "changing" the format would
potentially affect the Framework. Or even motivate a general MNA
encoding document.

Since both the OpCode and the p-bit are ISD, I think they should be
assigned in draft-ietf-mpls-mna-hdr.


/Loa

>
> In fact, it’s not a whole label.  If we’re talking about PSD, it’s
> very likely that there’s nothing in ISD except for the PSD indication
> and this opcode would fit in the Format B LSE without any additional
> overhead.
>
> One could, in principle, generalize this to make the entire Format B data
> space into extension bits of various flavors, with PSD being only one.
>
> We have many extension mechanisms, not just reserved bits.
>
> T
>
>> On Mar 13, 2024, at 11:36 AM, Haoyu Song <haoyu.song@futurewei.com<mailto:haoyu.song@futurewei.com>>
>> wrote:
>>
>> I think this is very inefficient. While only a single bit is sufficient
>> to server the purpose, why dedicate a whole label?
>>
>> Haoyu
>>
>> -----Original Message-----
>> From: mpls <mpls-bounces@ietf.org<mailto:mpls-bounces@ietf.org>> On Behalf Of Tony Li
>> Sent: Wednesday, March 13, 2024 8:29 AM
>> To: Loa Andersson <loa@pi.nu<mailto:loa@pi.nu>>
>> Cc: mpls <mpls@ietf.org<mailto:mpls@ietf.org>>
>> Subject: [mpls] Another way...
>>
>>
>> [WG chair hat: off]
>>
>> Hi Loa,
>>
>> It occurred to me that another way of indicating the presence of PSD
>> would be to allocate an opcode to serve this purpose.
>>
>> This requires no reserved bits and no pre-definition of any value so it
>> intrinsically cannot disappear.
>>
>> Tony
>>
>> _______________________________________________
>> mpls mailing list
>> mpls@ietf.org<mailto:mpls@ietf.org>
>> https://www.ietf.org/mailman/listinfo/mpls
>
>


_______________________________________________
mpls mailing list
mpls@ietf.org<mailto:mpls@ietf.org>
https://www.ietf.org/mailman/listinfo/mpls