Re: [mpls] mail on ISD encodding

loa@pi.nu Tue, 12 March 2024 06:43 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 8661FC14F6AD; Mon, 11 Mar 2024 23:43:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 9VDY-N1keCLe; Mon, 11 Mar 2024 23:43:49 -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 C0DD1C14F6A9; Mon, 11 Mar 2024 23:43:47 -0700 (PDT)
Received: from pi.nu (localhost.localdomain [127.0.0.1]) by pipi.pi.nu (Postfix) with ESMTP id 5A4763A8F72; Tue, 12 Mar 2024 07:43:46 +0100 (CET)
Received: from 124.106.198.177 (SquirrelMail authenticated user loa@pi.nu) by pi.nu with HTTP; Tue, 12 Mar 2024 07:43:46 +0100
Message-ID: <65bdd16f88115444eb12a9c79a043a34.squirrel@pi.nu>
In-Reply-To: <0E1B6D5A-D9E4-4EDB-8BDD-8F6ACE706488@tony.li>
References: <62ae3e9892a9ff01f67d13e40a0a8f74.squirrel@pi.nu> <3F70B458-AEBE-4950-B721-A19BF2C2C8D7@tony.li> <457af2ed166e9f886d9966ed872bb1e7.squirrel@pi.nu> <4C50D0C5-0591-4D11-A531-C2237243768C@tony.li> <1ed6fa19af1fb4947068cdf40eb0b223.squirrel@pi.nu> <AB864AB0-CFBA-40AD-B2F7-6A807479E7B4@tony.li> <9f461dae2006b484a27a82ba650dac85.squirrel@pi.nu> <8369752E-0133-4F7B-9D2B-82A210F66567@tony.li> <2efd1677f0bae7abf6d7df260f0beafd.squirrel@pi.nu> <4CD54316-3715-4B57-A4A6-F3F4E7AE3ED9@tony.li> <973B7D13-A77A-47DB-9FED-9EBB0D403FFA@gmail.com> <e439ebbc51f6c41285892f9d5b7328d5.squirrel@pi.nu> <4DAC5095-2359-40BA-8AE0-DCCE9C8F6FB0@tony.li> <085a8d103a9a42549398d22ef5f9d7aa@huawei.com> <1C428D73-D8E0-4432-A3D8-59D788114318@tony.li> <028fd6bc5f68b201de7749fff654dfb0.squirrel@pi.nu> <0E1B6D5A-D9E4-4EDB-8BDD-8F6ACE706488@tony.li>
Date: Tue, 12 Mar 2024 07:43:46 +0100
From: loa@pi.nu
To: Tony Li <tony.li@tony.li>
Cc: Loa Andersson <loa@pi.nu>, "Dongjie (Jimmy)" <jie.dong@huawei.com>, "draft-ietf-mpls-mna-hdr@ietf.org" <draft-ietf-mpls-mna-hdr@ietf.org>, "mpls@ietf.org" <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/rABy6xIol3D3SaSanJm7-25mRC0>
Subject: Re: [mpls] mail on ISD encodding
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: Tue, 12 Mar 2024 06:43:51 -0000

Tony,

Inline please.

Sorry, if I misunderstood, if you are saying that we should leave bit
20 as the p-bit, and use e.g. bit 24 as a "D-bit", indicating that
this Format B is followed by a Format D LSE, that is fine with me. If
you can convince me that the NAL is not needed (no Format C, no NAL).

 >
> [WG chair hat: off]
>
> Hi Loa,
>
>
>> So you mean we should first break what is not broken, then "steal a bit"
>> for the U-bit, that was there from the start?
>
>
> I don’t understand this comment.
>
> As your original example showed, we currently cannot attach Format D LSEs
> after Format B LSEs.  I proposed one way of allowing that, which would
> hopefully make some common cases more efficient as there would be fewer
> cases where there would be a NOP opcode in the Format B LSE.
>
> You objected to my proposal saying that we should have at least one
> reserved bit. I’m fine with that, we can simply take one more bit from
> the Format B data space.

Sorry, if I misunderstood, if you are saying that we should leave bit
20 as the p-bit, and use e.g. bit 24 as a "D-bit", indicating that
this Format B is followed by a Format D LSE, that is fine with me. If
you can convince me that the NAL is not needed (no Format C, no NAL).

>
>> Or did you mean steal for
>> the p-bit which also seems unnecessary, since the R-bit sits there in
>> draft-ietf-mpls-mna-hdr, and draft-jags-mpls-ps-mna-hdr nicely allocates
>> it as a p-bit? How about just leaving the bit allocation as is?
>
>
> I cannot follow this at all.
>
> In any case, I take it that you dislike my proposal. That’s fine.

I do dislike making it impossible to not use the R-bit for PSD indication.
The rest is possibly fine.
>
>
>> However, there is one thing about where the allocations are done.
>>
>> The p-bit is one of the ISD-flags, it points at OSD, but it is really a
>> piece of the ISD. Should be allocated in the draft-ietf-mpls-mna-hdr.
>
>
> I disagree.  As I mentioned, in the ISD header, that should simply be a
> reserved bit.  It should not be assigned for PSD.

I think to assign it for PSD now is the most straightforward approach.
But I would like to hear from the rest of the authors' of the two
drafts and the MPLS folks in general.

> We may never use PSD.
> It would be poor engineering to prevent its use in perpetuity.  If we do
> not use PSD, then that reserved bit might be pressed into service for some
> other purpose.
>
> Flexiblity in future design would seem to be an overriding principle here.
>
>
>> Also the instruction (for R-bit), "set to zero when sending and ignore
>> when received" is problematic. Let us forget about the R-bit and put the
>> p-bit where it belongs. There should be a description of how
>> a non-PSD capable node treats a packet with the p-bit set.
>
>
> I disagree.  That is how we always deal with reserved bits.

Sorry, there is a difference between the general "Reserved" and the
specific "Reserved for" that we are discussing here.

If we (or our grandchildren) decide to use the R-bit as p-bit, only
some LSRs are updated in the first round, then there is a risk, that
a packet with the p-bit in the Format B LSE. arrives at this node, but the
p-bit is ignored, it would be better if the bit was not ignored,
but that the LSR understood that there are PSD after the stack and that
LLSR could have an option for what to do with the packet, including
sending
error messages.

>
> There is no point in arguing about PSD and non-PSD nodes until we decide
> to commit to PSD.

I have agreed (calling consensus as a wg chair) that ISD is needed. I
still think so, but mostly for flags. I'm concerned about pushing "huge"
amounts
of ancillary data into the stack, which makes it grow with 10 to 20 LSEs
is not a good thing. The figures I hear is that a label stack depth of more
7-8 LSEs are problematic for a substantial part of the deployed LSRs.

/Loa
>
> Tony
>
>