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

Tom Herbert <tom@herbertland.com> Sat, 31 July 2021 14:53 UTC

Return-Path: <tom@herbertland.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 DBA793A294B for <tsvwg@ietfa.amsl.com>; Sat, 31 Jul 2021 07:53:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 RNQ9askxT2_4 for <tsvwg@ietfa.amsl.com>; Sat, 31 Jul 2021 07:53:20 -0700 (PDT)
Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (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 C663F3A2948 for <tsvwg@ietf.org>; Sat, 31 Jul 2021 07:53:19 -0700 (PDT)
Received: by mail-ej1-x62b.google.com with SMTP id qk33so22491721ejc.12 for <tsvwg@ietf.org>; Sat, 31 Jul 2021 07:53:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ewaXndF6dqnGWpl3GuTEwVL5f1DwzYvlhjjKPwffSHI=; b=tZdfgTR2WOaUMRVUaPjW8TAsML6HwxycLL1j7mHFhI5w+YQYeGXeeh8oQ1xGlJxp5K bdsNnzfqqzfwdV3yd5mizXSrZVyAwHBtdIBTpUejhnyjt/AnGy3zsP+36BNa4eXHNqSq 6GokwN6r2nti4u627P+5NRre6zS/+l6/qRx8PQNr/Tbkg7G+mCbUspGl4aQI8fLEl6Zq ceWrzFOdJYWq9NVz7v+qCGNpUIgrLCsxYzv8eCGBG1IVhwHJv1q9WuA91FarMtEzxanX lODqmzOpLJidtwCS1Jk2wH7FLx3qnLnpKPc7qyrSWemNCZNdxHNwoHWzhXwYmKo8NYGl 13DA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ewaXndF6dqnGWpl3GuTEwVL5f1DwzYvlhjjKPwffSHI=; b=tGT3hD0/+job3kwtdGkEZx0kKNcXzscCS1++T2QKGwvZ++NVYNjdCgW7Pt0FR29KDa nUwsvsZInntPCUtwmpc9MVpCS+cJXCLObzIOJCxhU9jkaxqLVYgyxYqhiUNgTDbB24Tz SxmkUK0Uyi9uctEb9gzv4zmDzjXVAs15E0xQizNVWc7jae/ENLCE08njfTv9OWwr2UI9 CTuh+wBNAnkpmRYxDKA6MTIdljUReL4Um4/iBT1bXGfMFjcMrT718pVHIdA+UJQYF4Fq R7Vz1QArwdNqvH7KKkWz/QH0tivsr8Xj4+7ZbXntHWyYKOquTh/2Nd5/7qTYNuRXrKZ7 6+bA==
X-Gm-Message-State: AOAM53016slBbxcEtxm5y3eUSt6k4S31NSSFPH3AhDTEl35SKii81PV+ 68fIteLH0UiQ7HfIJp99owkmidMa75Qre+9ntsvE+Q==
X-Google-Smtp-Source: ABdhPJw69Eng5J6xaf75DU33N5BBCfTzb28ZPDeKHDQjsvSqzPXrPx15fOtgV1cxWK8NPlZtrWDG/8I5a9uaeGlE45Y=
X-Received: by 2002:a17:906:498b:: with SMTP id p11mr7845051eju.295.1627743196549; Sat, 31 Jul 2021 07:53:16 -0700 (PDT)
MIME-Version: 1.0
References: <CALx6S37zzaZaWNygGt=YaZSAo1e5fTgqmi0ftK4q+puCfbXWGg@mail.gmail.com> <6073AC0D-C32A-4033-BC92-F828BA50BDF7@strayalpha.com> <CALx6S37Nf4U=6aGf7ov_7+UULzuD-DPP+gJzLyJ0vKxRELtLCQ@mail.gmail.com> <3CCB787D-CD9F-4380-9544-F5FEAFAF3E27@strayalpha.com>
In-Reply-To: <3CCB787D-CD9F-4380-9544-F5FEAFAF3E27@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sat, 31 Jul 2021 07:53:05 -0700
Message-ID: <CALx6S36pRhJFHnhh58tUabeoc8ScajfUYV1HOg=tPJvic8bJ9Q@mail.gmail.com>
To: Joseph Touch <touch@strayalpha.com>
Cc: tsvwg <tsvwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/8i1qiKnCSPf0Fs8-pP02opHNAeA>
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: Sat, 31 Jul 2021 14:53:25 -0000

On Fri, Jul 30, 2021 at 8:35 PM Joseph Touch <touch@strayalpha.com> wrote:
>
> Hi, Tom,
>
> > On Jul 20, 2021, at 7:49 AM, Tom Herbert <tom@herbertland.com> wrote:
> >
> > On Mon, Jul 19, 2021 at 5:58 PM Joe Touch <touch@strayalpha.com> wrote:
> >>
> >>
> >>
> >>> On Jul 19, 2021, at 3:11 PM, Tom Herbert <tom@herbertland.com> wrote:
> >>>
> >>> Please check the list archives, I have been pointing out the problems and deployment impediments with protocol trailers and for a while.
> >>
> >> You have. I though you were limiting your comments to fragments at this time.
> >>
> >>> Neither, AFAIK, has consensus been established on this.
> >>
> >> It has never been consensus to limit use to only fragment mode. In fact, that mode has been argued as optional most recently.
> >>
> > Limiting use to fragment mode is not what I am suggesting. There are
> > applications that need legacy mode and those that don't (DNS on the
> > Internet needs it, UDP tunnels in a datacenter don't). There are
> > implementations that support protocol trailers and those that don't
> > (like the routers I mentioned). Protocol trailers are technically
> > required in legacy mode, but there is no technical rationale why
> > non-legacy mode needs trailers. If trailers are required in all use
> > cases, then devices that don't support them can't use UDP options even
> > if they're only interested in non-legacy mode uses. For instance, UDP
> > options is a means to bring extensibility to otherwise non-extensible
> > UDP encapsulation protocols and augmenting VXLAN with a fragmentation
> > capability is compelling. But if protocol trailers are a forced
> > requirement, then I believe that would preclude us from ever using UDP
> > options with UDP encapsulation-- that would be unfortunate.
>
> I don’t follow this line of logic.
>
> You claim that you’re not limiting use to frag-only, but then talk about “if trailers are required”.
>
> There’s no IF. They are.
>

Joe,

That is an opinion, not an established fact. If you want to convince
us that trailers are a requirement in all use cases, specifically
non-legacy mode, then please provide at least one example of options
that could not be correctly conveyed in protocol headers. Given that
we have many examples of successful protocols that have protocol
options in headers, IP options, TCP options, and IPv6 which provides
the example of how per fragment options and options for the
reassembled packet, I am dubious the need for trailers can be proven.

> If an implementation can’t deal with trailers, it can’t support UDP options - the core set is “all or none”, not “pick what you want”.

If an implementation can't deal with trailers, then that means that
users of those implementations can't use UDP options. If users can use
the protocol we're defining then what is the point of bringing it to
IETF?

Tom

>
> Joe