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

"C. M. Heard" <heard@pobox.com> Sun, 01 August 2021 23:23 UTC

Return-Path: <heard@pobox.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 E255E3A178F for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 16:23:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.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 lGuXd1WSiomd for <tsvwg@ietfa.amsl.com>; Sun, 1 Aug 2021 16:22:59 -0700 (PDT)
Received: from pb-smtp21.pobox.com (pb-smtp21.pobox.com [173.228.157.53]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 693343A178D for <tsvwg@ietf.org>; Sun, 1 Aug 2021 16:22:58 -0700 (PDT)
Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 1F065137286 for <tsvwg@ietf.org>; Sun, 1 Aug 2021 19:22:55 -0400 (EDT) (envelope-from heard@pobox.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h= mime-version:references:in-reply-to:from:date:message-id:subject :to:cc:content-type; s=sasl; bh=rXsmHhHSi6cD1JLIGJMlEuSCRBo4iF8Z MsI+me+ePEs=; b=MXt+whO+ztxBrRoyaEKNe0A6LtBszLvSnTKTnNDOV+AOxE9e moubdKDU6Za/F039EaynGPMzqFopy3uVH6nuIW2qpV1UD7DxqWc6KY+Es5mqhYdI m/9jmvQynMQUTVN3pT7YevQEBbC0cWh0fZVdbPPg2M5cKWZ8YGFt02tQTkE=
Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id 1769D137285 for <tsvwg@ietf.org>; Sun, 1 Aug 2021 19:22:55 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-pj1-f48.google.com (unknown [209.85.216.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id BC78513727F for <tsvwg@ietf.org>; Sun, 1 Aug 2021 19:22:52 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-pj1-f48.google.com with SMTP id ca5so22753945pjb.5 for <tsvwg@ietf.org>; Sun, 01 Aug 2021 16:22:52 -0700 (PDT)
X-Gm-Message-State: AOAM533dQCtZ7DB1mAnV5HckRfkxPC8/+S/IoHzl1qi96ftd6lxRmW73 u9BMzeNEt/vZdYgYiLnwQ9kTXTF1cp2qgTHuuh0=
X-Google-Smtp-Source: ABdhPJyw4ERblMjRrSoB3XE9NZ8Qmy8RW7fWyY/ZLzpY4I+/rOMdte6LqiyPq3pz/f5RQwwoQQMCTF8kS3ITVxi+JwE=
X-Received: by 2002:a17:902:bd83:b029:12c:1fea:7dc with SMTP id q3-20020a170902bd83b029012c1fea07dcmr11800656pls.59.1627860171722; Sun, 01 Aug 2021 16:22:51 -0700 (PDT)
MIME-Version: 1.0
References: <A0932E7C-183B-41EF-B2AA-838FC45A087E@strayalpha.com> <28339CB5-2C9D-4870-9F25-07D6BBF43BDD@strayalpha.com> <CACL_3VEo75pKTOhizO1AhvqW7vCkOnaerDi6UNRA6e5K5mKYfQ@mail.gmail.com> <F35E0828-1F8F-4D7C-A570-32A2F47F773F@strayalpha.com>
In-Reply-To: <F35E0828-1F8F-4D7C-A570-32A2F47F773F@strayalpha.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Sun, 01 Aug 2021 16:22:38 -0700
X-Gmail-Original-Message-ID: <CACL_3VFdzrTXZ8rAGPF=hXJ56zwy9KRxqERO_9doVUB4wFft4g@mail.gmail.com>
Message-ID: <CACL_3VFdzrTXZ8rAGPF=hXJ56zwy9KRxqERO_9doVUB4wFft4g@mail.gmail.com>
To: Joseph Touch <touch@strayalpha.com>
Cc: TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000047954405c887bb98"
X-Pobox-Relay-ID: 64EEDCDE-F31F-11EB-9467-FA9E2DDBB1FC-06080547!pb-smtp21.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/WEBOb9ej6x990_uoKB0HmpSJR4k>
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: Sun, 01 Aug 2021 23:23:04 -0000

On Sun, Aug 1, 2021 at 3:56 PM Joseph Touch <wrote:

> The value in the terminal fragment is just the value that would have been
> in the original IP length before fragmentation, less the IP and UDP headers.
>
> That’s very simple.


That's highly dependent on the details of the implementation,


> Whether it can be used to split off the trailing options requires a simple
> comparison - if FRAG_END > FRAG_OFFSET, then the trailing options are
> entirely in this fragment. If not, then not.
>
> The fact that per-reassembled datagram options look exactly like legacy
> options it similar in its simplicity, as is using TLVs for everything. It’s
> all about fewer different ways to do the same thing.
>

Based on my own experience, I do not agree that this necessarily makes for
a simpler implementation. But let's see what other folks think.

Mike Heard