Re: [tsvwg] RFC 4301 on ECN codepoints (was RE: L4S vs SCE (Evolvability))

Jonathan Morton <chromatix99@gmail.com> Thu, 02 January 2020 22:03 UTC

Return-Path: <chromatix99@gmail.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E175D1200A1; Thu, 2 Jan 2020 14:03:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.748
X-Spam-Level:
X-Spam-Status: No, score=-1.748 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a1U5y11p2nOp; Thu, 2 Jan 2020 14:03:39 -0800 (PST)
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3905112004D; Thu, 2 Jan 2020 14:03:39 -0800 (PST)
Received: by mail-lf1-x136.google.com with SMTP id n12so30767722lfe.3; Thu, 02 Jan 2020 14:03:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZOWQ0FHGC71BWp0tVv4RKs1hn58/JPdhFkBoxELlxN8=; b=FAYHAljA+cXwK9FLowg8U7xnSn0V1BMWk/v4m9QkVJyANswQbXiReZsiRlKyBVl/Cf z/T/8siNKb22mosaYFe2Q7xExX2QClQ25dGjUx0NLWY3Ej+YznYbDdgOl8jerd0692Nw ajdMjzOhBtNe2X0HBiGJ6rTjtJWc0DSPjTYgDg687CLcv+xfwGqvl5j0ywjW95dx/cCl ZIjD9CMAUCB/OCoBRwkN4DbPLL2a1b+Nrg8R4NVN5xEeKyi+60ZVxS1OnYrA52mA1I1P 8umcuoZKHhG7qxUUoSHmqnuINCHNBBn9Ksxzf8fdeZvClVFT3Ta7sEQQSy2cQng8rRqx NQJA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=ZOWQ0FHGC71BWp0tVv4RKs1hn58/JPdhFkBoxELlxN8=; b=lumSKADljszG5XC02kNj4NMoXQDoGk9jad0K2AOUSTgCfKtkAFf1PB56N3SfDSBYpv 6/SKgtCkrKuM5QCejK88jw02a2KYwfpvKile11kTFqKib5eWnhBUWAnPhQtAKEnhUNpJ Y4pef9uEH14lj5Y6rYQyZ2psRnGSrjRtHMUOJi12hpc85yxuhtgD8vMXoRS6DZQfn08u YbncDclpIkOb+fW2gb23pp4nkeHYuxuMqRHkLYN38jGYzq4hSIdguul4IgYPmwyCJ3Vl 4TiWcU0MBM+cq3+fYzTG8n0QPSh0eLv1jM0ntVr0JvefXbjJvsOf4R04gpO5lWc25wNu s+/g==
X-Gm-Message-State: APjAAAW2r/yrGEzUS5M5Qdeh1vRVnOujKtT/fb6rUZHVpqBvUqAH1DQG 3IlIfjK1XY8IxT7k5iOZutQ=
X-Google-Smtp-Source: APXvYqz+cT825aj0NOYRtuPEDfjL98Krc46fKmAYE9jhmUWtotY6mY+VfgJPdkcRlVfERpZITdFHuA==
X-Received: by 2002:a19:4351:: with SMTP id m17mr49190037lfj.61.1578002617497; Thu, 02 Jan 2020 14:03:37 -0800 (PST)
Received: from jonathartonsmbp.lan (83-245-229-102-nat-p.elisa-mobile.fi. [83.245.229.102]) by smtp.gmail.com with ESMTPSA id k5sm23786619lfd.86.2020.01.02.14.03.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jan 2020 14:03:37 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\))
From: Jonathan Morton <chromatix99@gmail.com>
In-Reply-To: <HE1PR07MB44253C4F00626C004E36D150C2200@HE1PR07MB4425.eurprd07.prod.outlook.com>
Date: Fri, 03 Jan 2020 00:03:35 +0200
Cc: "Black, David" <David.Black@dell.com>, Bob Briscoe <ietf@bobbriscoe.net>, Roland Bless <roland.bless@kit.edu>, Ingemar Johansson S <ingemar.s.johansson@ericsson.com>, "tsvwg-chairs@ietf.org" <tsvwg-chairs@ietf.org>, "tsvwg@ietf.org" <tsvwg@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <D0BACEEC-2913-48A6-9B43-1F9B0E8E682F@gmail.com>
References: <HE1PR07MB44253C4F00626C004E36D150C2200@HE1PR07MB4425.eurprd07.prod.outlook.com>
To: Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3445.9.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/K98w4W6DaqpfmZQ4AUkafJQsOrs>
Subject: Re: [tsvwg] RFC 4301 on ECN codepoints (was RE: L4S vs SCE (Evolvability))
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Jan 2020 22:03:41 -0000

> On 2 Jan, 2020, at 12:13 pm, Ingemar Johansson S <ingemar.s.johansson=40ericsson.com@dmarc.ietf.org> wrote:
> 
> I read in https://tools.ietf.org/html/rfc4301#section-5.1.2.1  the following
> 
>      (6) If the ECN field in the inner header is set to ECT(0) or
>          ECT(1), where ECT is ECN-Capable Transport (ECT), and if the
>          ECN field in the outer header is set to Congestion Experienced
>          (CE), then set the ECN field in the inner header to CE;
>          otherwise, make no change to the ECN field in the inner
>          header.  (The IPv4 checksum changes when the ECN changes.)
> 
> So, if we have an SCE flow that is tunneled:
> 1) At the tunnel ingress, the ECN bits are copied to the outer header.
> 2) Somewhere along the tunneled path an SCE compatible AQM remarks from ECT 
> '10' to SCE '01'.
> 3) At tunnel egress, given rule #6 above, I understand that the inner header 
> will still be ECT '10'.
> 
> In order words, the SCE congestion marks along the tunneled interface become 
> ignored and the queue will grow until packets are either CE marked, or 
> dropped.
> 
> Is this a correct interpretation ?

Yes.  It would be as if the SCE-aware AQM on the tunnel path was merely RFC-3168 compliant, if the tunnel exit node correctly implements the above language.

 - Jonathan Morton