Re: [tsvwg] UDP options and header-data split (zero copy)

Joe Touch <touch@strayalpha.com> Mon, 02 August 2021 19:36 UTC

Return-Path: <touch@strayalpha.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 646CD3A18B5 for <tsvwg@ietfa.amsl.com>; Mon, 2 Aug 2021 12:36:39 -0700 (PDT)
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 K5Qp6ZkNtoko for <tsvwg@ietfa.amsl.com>; Mon, 2 Aug 2021 12:36:34 -0700 (PDT)
Received: from server217-4.web-hosting.com (server217-4.web-hosting.com [198.54.116.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 E33BC3A18B2 for <tsvwg@ietf.org>; Mon, 2 Aug 2021 12:36:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Transfer-Encoding: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=W7fbFGIEdzqqtrjyqZauazOQ94ODZ6/m34YwwsvUQNI=; b=CUiJ7jANi0HqADgPLhq8PMalvP EpEw2NcVg0Lk2TbmAAElXDpRDUmNR8GY2/rEBCAcNJla/5aMKPF0yps3Qz3tu0v+y6yLN30+B2o8K 3E2Z9kgiQKbS2uZhpj+9fnHQKZVqRGnSXn1GUOuCIj8hYdprjCWGWn/IyEr4NKU/W3RC2GOrFJPn+ x/bNz2mWIIXtbmIf21wGrfbNsl0maykZqjty7fBzCMNJSIOpBhP2/aSCogxLCm3f5O01TE/qmx37L td9IRIuFjDNs653ReQVMOXEvRxttS+oYQvtXudwnsN/3ecFYJwPXCppU8Efj9VZo/qf/e6A7q6uf7 EL4QTPgg==;
Received: from cpe-172-114-237-88.socal.res.rr.com ([172.114.237.88]:55307 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <touch@strayalpha.com>) id 1mAdjh-004JGD-OS; Mon, 02 Aug 2021 15:36:34 -0400
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
In-Reply-To: <CACL_3VGBp5ZcCvYRtmzxjC9X_Sov39QdJWjbShSdwKxiKCZPTw@mail.gmail.com>
Date: Mon, 02 Aug 2021 12:36:28 -0700
Cc: Tom Herbert <tom@herbertland.com>, TSVWG <tsvwg@ietf.org>
Message-Id: <1527AD09-08CA-4F41-B71E-001921CD7556@strayalpha.com>
References: <CACL_3VGBp5ZcCvYRtmzxjC9X_Sov39QdJWjbShSdwKxiKCZPTw@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
X-Mailer: iPhone Mail (18G82)
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/tsvwg/rLhGaa4jG0u6TslpPQpTwzzGmnM>
Subject: Re: [tsvwg] UDP options and header-data split (zero copy)
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: Mon, 02 Aug 2021 19:36:39 -0000


> On Aug 2, 2021, at 11:13 AM, C. M. Heard <heard@pobox.com> wrote:
> 
> As I understand it, the procedure (in concept) is to create a datagram
> in legacy format with its per-datagram options, and then split that up
> into fragments, each of which can have its own per-fragment options.
> The per-fragment options precede the corresponding fragment data; in
> the current draft, the  per-datagram options follow the data in the
> final fragment.
> 
> The upcoming revision will change this a bit ... FRAG END in the
> terminal FRAG option will be replaced with USER DATA LENGTH. In this
> case the per-datagram options will be carried within the fragment
> data. It won't be possible, in general, to tell where the user data
> ends and the options begin until the reassembly process is complete

Yup.  

There are special cases, eg where the trailing options fit in the terminal frag and the data gram is split to make that happen. 

The design has been intended so the sender ‘makes the legacy-style datagram first, then splits into fragments and add per frag options. The receiver would do that in reverse. That’s generally required logically because the trailing options can depend on the whole datagram and the option values in some cases (auth). 

Joe