Re: [tsvwg] A review of draft-ietf-tsvwg-udp-options-12

"C. M. Heard" <heard@pobox.com> Mon, 14 June 2021 02:20 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 AE40E3A08EB for <tsvwg@ietfa.amsl.com>; Sun, 13 Jun 2021 19:20:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, RCVD_IN_DNSWL_BLOCKED=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 f5h4GK6ZpIIO for <tsvwg@ietfa.amsl.com>; Sun, 13 Jun 2021 19:20:52 -0700 (PDT)
Received: from pb-smtp20.pobox.com (pb-smtp20.pobox.com [173.228.157.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 061133A08CE for <tsvwg@ietf.org>; Sun, 13 Jun 2021 19:20:51 -0700 (PDT)
Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id AB1E614C544 for <tsvwg@ietf.org>; Sun, 13 Jun 2021 22:20:48 -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=kcgLa0KPJSpJlENCdg/P4V2FBZsEOr1p i7QSETfF9N0=; b=KdnszVRYTuG28cENfhc8BjwbT3LVYeHw3CrcB1MQ806mxuo8 i1d7ByDLcI7E97pH0CfNGjQm8HNQuDspJ1fAk47VLDxb70guYkbxLf9hb0/x/68U TVZ80zCXj6+2J3eJlyO1YJsSLPTzD7ENVGlrE71clJmbv5aDv7sBZhRZUeY=
Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id A424414C543 for <tsvwg@ietf.org>; Sun, 13 Jun 2021 22:20:48 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-io1-f44.google.com (unknown [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id F2A6714C53D for <tsvwg@ietf.org>; Sun, 13 Jun 2021 22:20:44 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-io1-f44.google.com with SMTP id s26so8864444ioe.9 for <tsvwg@ietf.org>; Sun, 13 Jun 2021 19:20:44 -0700 (PDT)
X-Gm-Message-State: AOAM531QP9bpFY7kQ3AxtS+mC7uSfTCQfKJ85oW+OxCJLNr8V6blpY0Y CszWX11idB9qdebz3w7m31UYwsRi0JfhDCGnvfY=
X-Google-Smtp-Source: ABdhPJzriqQbmcWyxIjSFz4jeopibqLcxi0ibgUmISURE60DmYuZ/3LNacBl3kOfwyPuPm+NqVl7RAXT24Dlcd3AN2E=
X-Received: by 2002:a05:6638:3298:: with SMTP id f24mr14630952jav.25.1623637243697; Sun, 13 Jun 2021 19:20:43 -0700 (PDT)
MIME-Version: 1.0
References: <CACL_3VGb_9P5SfPGRJtf1ZBvEhgywc2ZEGr-qbgNOMXV20rFeA@mail.gmail.com> <CACL_3VHyoRr5ju8203DiLTUo-658DCj7ud+1dQE2o0hUPVhF0A@mail.gmail.com> <7D766992-AEEB-434F-BB1D-3817EE07DE61@strayalpha.com> <1BBDBD80-3A53-4700-A79F-9A3AE4876F2B@strayalpha.com>
In-Reply-To: <1BBDBD80-3A53-4700-A79F-9A3AE4876F2B@strayalpha.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Sun, 13 Jun 2021 19:20:33 -0700
X-Gmail-Original-Message-ID: <CACL_3VEXCT-sSNhtncVK26DPQefDLJhqEijgDke4Q7DmhRrpTQ@mail.gmail.com>
Message-ID: <CACL_3VEXCT-sSNhtncVK26DPQefDLJhqEijgDke4Q7DmhRrpTQ@mail.gmail.com>
To: Joseph Touch <touch@strayalpha.com>
Cc: TSVWG <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000279f0f05c4b08121"
X-Pobox-Relay-ID: 1FD528EE-CCB7-11EB-ADD8-D5C30F5B5667-06080547!pb-smtp20.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/3-ULND3wU_m1eX_LoikncsUdSiA>
Subject: Re: [tsvwg] A review of draft-ietf-tsvwg-udp-options-12
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, 14 Jun 2021 02:20:57 -0000

On Sun, Jun 13, 2021 at 7:12 PM Joseph Touch <touch@strayalpha.com> wrote:

> Finally, regarding FRAG:
> - we need to decide whether we want to support zero-copy (probably a
> better way of putting it than RDMA)
>         if so, then we should also consider whether to allow options after
> non-terminal fragments
>         that would operate on the fragment only (this would help reduce
> the amount of data that needs to be moved
>         to allow zero copy)
>
> - either way
>         - non-terminal fragments MUST use FRAG last
>         - terminal fragments include post-FRAG options that operate on the
> entire reassembled fragment
>
> If we DO NOT support zero-copy, the format would be:
>
>         Nonterminal format, where OPTLEN = 8
>                 KIND/8, OPTLEN/8, FRAGOFFSET/16
>                 FRAGID/32
>
>         Terminal format, where OPTLEN = 10
>                 KIND/8, OPTLEN/8, FRAGOFFSET/16
>                 FRAGID/32
>                 THISFRAGLEN/16
>
>         FRAGOFFSET = where to place the fragment in the reassembled user
> data
>         THISFRAGLEN = length of the terminal fragment, i.e., indicating
> where the post-frag options resume
>
>         (note - this is what we have in the current draft, version -12,
> except it swaps FRAGOFFSET and THISFRAGLEN
>         and omits it from non-terminal fragments)
>
> If we DO support zero-copy and thus want to allow non-terminal fragments
> to have post-fragoption options that operate on each fragment, then we
> would add THISFRAGLEN to the nonterminal format and issue different KIND
> numbers to nonterminal/terminal fragment.
>


I for one would appreciate further discussion of these last points. I admit
that I have failed to grasp Joe's message on the RDMA thread, and I would
appreciate some time to think about it.

Thanks

Mike