Re: [mpls] Another way...
loa@pi.nu Fri, 22 March 2024 03:36 UTC
Return-Path: <loa@pi.nu>
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 48543C14F698 for <mpls@ietfa.amsl.com>; Thu, 21 Mar 2024 20:36:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.907
X-Spam-Level:
X-Spam-Status: No, score=-6.907 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 74oc8m1-eCO7 for <mpls@ietfa.amsl.com>; Thu, 21 Mar 2024 20:36:10 -0700 (PDT)
Received: from pipi.pi.nu (pipi.pi.nu [83.168.239.141]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30027C14EB19 for <mpls@ietf.org>; Thu, 21 Mar 2024 20:36:01 -0700 (PDT)
Received: from pi.nu (localhost.localdomain [127.0.0.1]) by pipi.pi.nu (Postfix) with ESMTP id E15AD3A933D; Fri, 22 Mar 2024 04:35:58 +0100 (CET)
Received: from 124.106.198.177 (SquirrelMail authenticated user loa@pi.nu) by pi.nu with HTTP; Fri, 22 Mar 2024 04:35:59 +0100
Message-ID: <9cb431d019fc78d7247c2d32a66fa208.squirrel@pi.nu>
In-Reply-To: <D4432A81-D152-4D23-872E-135B1912591E@gmail.com>
References: <3ef4922b5f596a6a2d2c09c45169a543.squirrel@pi.nu> <D4432A81-D152-4D23-872E-135B1912591E@gmail.com>
Date: Fri, 22 Mar 2024 04:35:59 +0100
From: loa@pi.nu
To: Tony Li <tony1athome@gmail.com>
Cc: loa@pi.nu, Jaganbabu Rajamanickam <jaganbaburietf@gmail.com>, mpls <mpls@ietf.org>
User-Agent: SquirrelMail/1.4.22
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
Archived-At: <https://mailarchive.ietf.org/arch/msg/mpls/ZAgmRHNS5EWO_9xeXqQPJhBpVRw>
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 03:36:14 -0000
Tony, Tnx! Yes, that is what I (vaguely) remember too. In that case, a terminology question. Looking at e.g. a Format B LSE: 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Opcode | Data |R|IHS|S| Res |U| NASL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Figure 2: LSE Format B: The initial opcode Is that 31 bits ISD or just 13 bits, i.e. does "ISD" relate to the field "Data" only or to the entire LSE (minus s-bit)? Tony writes that there is a benefit to having ISD so we can indicate the presence of PSD, I read that as the entire LSE is ISD. /Loa > > [WG chair hat: off] > > Loa, > > My memory says that there was no reason to preclude it and some benefit > for actually having ISD if PSD was present, so that we could indicate that > PSD was present. > > T > > >> On Mar 22, 2024, at 1:06 PM, loa@pi.nu wrote: >> >> Jags, all, >> >> I remember that we discussed whether a packet could carry both ISD and >> PSD, but I don't remember if we reached a consensus either way. >> >> Anyone remember? >> >> /Loa >> >> >>> 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:24â¯PM 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/ ). 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> 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 >>>>> >>>>> >>>> >>>> >>>> _______________________________________________ >>>> mpls mailing list >>>> mpls@ietf.org >>>> https://www.ietf.org/mailman/listinfo/mpls >>>> >>>> >>> >> >> >> _______________________________________________ >> mpls mailing list >> mpls@ietf.org >> https://www.ietf.org/mailman/listinfo/mpls >
- [mpls] Another way... Tony Li
- Re: [mpls] Another way... je_drake@yahoo.com
- Re: [mpls] Another way... Jeff Tantsura
- Re: [mpls] Another way... Tony Li
- Re: [mpls] Another way... Stewart Bryant
- Re: [mpls] Another way... Tony Li
- Re: [mpls] Another way... Gyan Mishra
- Re: [mpls] Another way... Haoyu Song
- Re: [mpls] Another way... Dongjie (Jimmy)
- Re: [mpls] Another way... loa
- Re: [mpls] Another way... Jaganbabu Rajamanickam
- Re: [mpls] Another way... Tony Li
- Re: [mpls] Another way... Dongjie (Jimmy)
- Re: [mpls] Another way... Haoyu Song
- Re: [mpls] Another way... Jaganbabu Rajamanickam
- Re: [mpls] Another way... Dongjie (Jimmy)
- Re: [mpls] Another way... Tony Li
- Re: [mpls] Another way... Tony Li
- Re: [mpls] Another way... Dongjie (Jimmy)
- Re: [mpls] Another way... loa
- Re: [mpls] Another way... loa
- Re: [mpls] Another way... Tony Li