Re: [mpls] Another way...

Tony Li <tony1athome@gmail.com> Fri, 22 March 2024 02:40 UTC

Return-Path: <tony1athome@gmail.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 CF7B1C14F707 for <mpls@ietfa.amsl.com>; Thu, 21 Mar 2024 19:40:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.212
X-Spam-Level:
X-Spam-Status: No, score=-1.212 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, MIME_HTML_ONLY_MULTI=0.001, MIME_QP_LONG_LINE=0.001, MPART_ALT_DIFF=0.79, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Fa1euCI2hv4o for <mpls@ietfa.amsl.com>; Thu, 21 Mar 2024 19:40:19 -0700 (PDT)
Received: from mail-pf1-x431.google.com (mail-pf1-x431.google.com [IPv6:2607:f8b0:4864:20::431]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10903C14F700 for <mpls@ietf.org>; Thu, 21 Mar 2024 19:40:19 -0700 (PDT)
Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-6e704078860so1203205b3a.0 for <mpls@ietf.org>; Thu, 21 Mar 2024 19:40:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711075218; x=1711680018; darn=ietf.org; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=YcPejv6O7XCGNEUtzXuGsi3Q4VcHxC9GzKtpLZl4H38=; b=ZPJIAMw8HIjUHPH/qEUjxMIRya38FNvbjDhavlWdq/B6iADqbrV2a4oPpJy9J3hUbk hYTtvQTl2YtWDW1oFVa0BX4BTtfR0Y3Yxy84yEOuZqtQpylhlSfBoEx+beliDFI4BC/+ GVsMyMJ4Osdh8aFkvejxxVsLDQhtE3JXU2ox8TAAk40Mvuigo8RD+unYJfQCbUwhPBko zzQWrPizdRDJvXW22KsPHLuMiAxOg2mGpW66mFTjfW2eoyMrwJ5Ci5Umu53nEVA7QeHO uAowHpxp22JG8tY7vSNqK5JetG01cGRo/03a7fp4UnhLH5RLiYVA6U9wAdlAb0vSdLDj dHHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711075218; x=1711680018; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YcPejv6O7XCGNEUtzXuGsi3Q4VcHxC9GzKtpLZl4H38=; b=QR9erMnNSS7X1FlB0J5u6mm+dIzRrG2na2J5DMzMB+ewOFNDdKlW3NefZ2ZtTp20mZ 1A+0Dp1zxnLibUp2zjnxbhz3IW8svDePagoD39Zfxl+BWTGWjfbM14w390WEL5GPiNcc TCzbTBLv5KVcWAW9ipLh/ZGZZ44FWp2lAaLasYRfA4ldgKpPCy2Uha3m4EUndEzVk/oh SUeXPv7q6UFwqVagoDtOpL1288yG/tkLKs+DpqI/NF9OsnnhpLml2xUd29smjphqE13U zd4PF907DuwKdRDfbYus0AJsy6WLkH9o9hqhh43vZeJOB36lldcf3ZaOcMimJKjbPyx5 s32w==
X-Forwarded-Encrypted: i=1; AJvYcCU0f+Pr07YoGEL+TkLfvpOvnT4lwgkg2xNRCKqEbJ4YvEjf6BekNJxu2C9J16wGoeJqLZhs6eG7wYptft1K
X-Gm-Message-State: AOJu0Yx99XH6vJ3+xszXFD4Jp+LDyo3CLyRzePaPnME48XNs0Z3p5q3m B7J1KunzpaUEmnRZ/I2VmE9srudFeXRPKXx+hlEszJqRP3exoSCkmPOtR5ZV
X-Google-Smtp-Source: AGHT+IEwwjBOSRSHRxPoFS5E7SJhVbZhR7vC+megQR4IqVSMWw2HKUU7Tm07AbnW3EbsUDhO4VSmrQ==
X-Received: by 2002:a05:6a00:1782:b0:6e6:b320:5567 with SMTP id s2-20020a056a00178200b006e6b3205567mr1403196pfg.24.1711075218079; Thu, 21 Mar 2024 19:40:18 -0700 (PDT)
Received: from smtpclient.apple ([2001:67c:1232:144:718d:5567:2734:e76]) by smtp.gmail.com with ESMTPSA id z8-20020aa79e48000000b006e7243bbd35sm558334pfq.172.2024.03.21.19.40.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Mar 2024 19:40:17 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail-69ACF8A8-4E15-4D8F-9DE1-48E8D1E7FDEF"
Content-Transfer-Encoding: 7bit
From: Tony Li <tony1athome@gmail.com>
Mime-Version: 1.0 (1.0)
Date: Fri, 22 Mar 2024 12:40:04 +1000
Message-Id: <29774CC9-57AC-4854-A758-2D1CF1AD2837@gmail.com>
References: <e81c5403ab164968b1adf536a7b6e0dd@huawei.com>
Cc: Jaganbabu Rajamanickam <jaganbaburietf@gmail.com>, mpls <mpls@ietf.org>
In-Reply-To: <e81c5403ab164968b1adf536a7b6e0dd@huawei.com>
To: "Dongjie (Jimmy)" <jie.dong=40huawei.com@dmarc.ietf.org>
X-Mailer: iPad Mail (20H320)
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/aJM3z7PY213AW0l8Xwza4f-NSOs>
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: Fri, 22 Mar 2024 02:40:19 -0000


Hi Jimmy,

It’s really up to the folks defining the opcode. How much ancillary data is required?  How many bits do you want for the offset, if any?

If it’s large, then you’ll need Format C (and D?).  If it’s small, it would fit in Format B or C. And if it’s just a bit, then it can become a flag and be co-located with other flags.

Tony


On Mar 22, 2024, at 10:09 AM, Dongjie (Jimmy) <jie.dong=40huawei.com@dmarc.ietf.org> wrote:



Hi Jags,

 

If the PSD offset opcode can always be encoded in the format-B LSE (which means its position if fixed), and it is the only opcode in NAS, then the encapsulation overhead is the same as using one Flag bit in format-B LSE.

 

But if there is any ISD which needs to be carried using Format B, the above assumption would be broken. Thus some coordination between the ISD draft and PSD draft on this would be needed.

 

Best regards,

Jie

 

From: Jaganbabu Rajamanickam <jaganbaburietf@gmail.com>
Sent: Thursday, March 21, 2024 1:10 PM
To: Dongjie (Jimmy) <jie.dong@huawei.com>
Cc: loa@pi.nu; mpls <mpls@ietf.org>
Subject: Re: [mpls] Another way...

 

Hello Jie,

 

   I was mentioning an option of using the PSD offset opcode as an indicator for the PSD presence.

 

   In case PSD offset opcode is encoded in the Format-B, then it is in the same level as proposed "P" bit, so I did not see any reason why this approach always consumes additional LSE.

   I agree that if anyone wishes to encode an ISD opcode using Format-B along with a PSD, it may require an additional LSE beyond what the current approach entails

 

 

Thanx,

Jags

 

On Wed, Mar 20, 2024 at 8:24PM Dongjie (Jimmy) <jie.dong@huawei.com> wrote:

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> On Behalf Of Jaganbabu Rajamanickam
Sent: Wednesday, March 20, 2024 8:44 AM
To: loa@pi.nu
Cc: mpls <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/" target="_blank" rel="nofollow">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:58AM <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>
>> 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> On Behalf Of Tony Li
>> Sent: Wednesday, March 13, 2024 8:29 AM
>> To: Loa Andersson <loa@pi.nu>
>> Cc: mpls <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
>> https://www.ietf.org/mailman/listinfo/mpls" target="_blank" rel="nofollow">https://www.ietf.org/mailman/listinfo/mpls
>
>


_______________________________________________
mpls mailing list
mpls@ietf.org
https://www.ietf.org/mailman/listinfo/mpls" target="_blank" rel="nofollow">https://www.ietf.org/mailman/listinfo/mpls

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