Re: [tcpm] AccECN field order

Joseph Touch <touch@strayalpha.com> Wed, 27 January 2021 04:21 UTC

Return-Path: <touch@strayalpha.com>
X-Original-To: tcpm@ietfa.amsl.com
Delivered-To: tcpm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87AEF3A1209; Tue, 26 Jan 2021 20:21:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.319
X-Spam-Level:
X-Spam-Status: No, score=-1.319 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, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OiwftAqD-pMM; Tue, 26 Jan 2021 20:21:50 -0800 (PST)
Received: from server217-2.web-hosting.com (server217-2.web-hosting.com [198.54.115.98]) (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 EC9D03A1208; Tue, 26 Jan 2021 20:21:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Sender:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=pdRSg8tnYWG1MzZ2S79qHBDUjzNCd6SFdiG2r3R/o2w=; b=Tr64u9195Y4k0wkTNMqOdC8t0 9Bwgb7ypzRoOrk0nb7gpq1NqpjL8qdojpodeUMVTle4VErEhKhxfsVUBy6oQNq3nNysIcnCAwd7E5 FIyyi+pKm6Spk3dC2Zw5Dn+IoHsjzlzR59rf4Gn5X6ko6w6VwKG8PZ+optpN2a3cYZzIOC9x5onHd Z6Yu3HgxbjT6UW6viVfMNirnJ9Cf12zqZb5KpQ4IF9ynaMhkn6CGdooPtTb2XdKnQO8+4v89cHXj+ P6jCbgo+11laJp/ExvTtBbMyfiK+QCOrC8FALENenZSglXQ2qYr4dNYPkf7syFO+KVRiQS+Dw8PMz 8o4lPqNrA==;
Received: from cpe-172-250-225-198.socal.res.rr.com ([172.250.225.198]:51636 helo=[192.168.1.14]) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from <touch@strayalpha.com>) id 1l4cKr-002Cyy-RY; Tue, 26 Jan 2021 23:21:46 -0500
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.40.0.2.32\))
From: Joseph Touch <touch@strayalpha.com>
In-Reply-To: <FC3BA2A2-0052-418E-A4D0-F9DC9FD5C2A2@apple.com>
Date: Tue, 26 Jan 2021 20:21:42 -0800
Cc: tcpm IETF list <tcpm@ietf.org>, "Scheffenegger, Richard" <Richard.Scheffenegger@netapp.com>, Michael Tuexen <tuexen@fh-muenster.de>, Mirja Kuehlewind <ietf@kuehlewind.net>, tcpm-chairs@ietf.org
Content-Transfer-Encoding: quoted-printable
Message-Id: <8B6B13CD-94B5-4C0B-8771-F008C390A661@strayalpha.com>
References: <2A6CB682-8D99-48AE-A053-1685BA480BB3@apple.com> <880A9E0C-FBC9-4ADC-A11D-C5D3FDDDCE14@strayalpha.com> <FC3BA2A2-0052-418E-A4D0-F9DC9FD5C2A2@apple.com>
To: Vidhi Goel <vidhi_goel=40apple.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.40.0.2.32)
X-OutGoing-Spam-Status: No, score=-1.0
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tcpm/9-MsOzQqb6dEN5WOSLLlS2Q2dBE>
Subject: Re: [tcpm] AccECN field order
X-BeenThere: tcpm@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: TCP Maintenance and Minor Extensions Working Group <tcpm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tcpm>, <mailto:tcpm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tcpm/>
List-Post: <mailto:tcpm@ietf.org>
List-Help: <mailto:tcpm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tcpm>, <mailto:tcpm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 Jan 2021 04:21:52 -0000


> On Jan 26, 2021, at 7:47 PM, Vidhi Goel <vidhi_goel=40apple.com@dmarc.ietf.org> wrote:
> 
>> Please see my note from 12/3/20, which shows how a single codepoints would suffice without increasing length. 
> 
> If the TCP option code points is not a scarce resource,

They are. Very much so.

> then why not just keep it simple with "two different codepoints”? Is there a reason that you think we should use only one code point?

That’s the core of the discussion we’ve been having.

> Regarding your suggestion of using 1 bit from the 24-bit counter field, do you mean specify ordering once before the first ECN counter field or specify before every counter field?
> For example, if all three counters are present, are you suggesting, a) or b)? To me b) would make more sense but that makes the implementation complex as the fields have different length.
> 
> a) Kind | Length | 1-bit ordering | 23-bit EE1B | 1-bit ordering | 23-bit ECEB | 1-bit ordering | 23-bit EE0B
> b) Kind | Length | 1-bit ordering | 23-bit EE1B | 24-bit ECEB | 24-bit EE0B

The point of the bit is to encode the different kinds. (b) does this just fine. If we want all three counters to be the same length, simply do so and require the other two “first bits” to be zero.

Joe