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

"C. M. Heard" <heard@pobox.com> Sat, 31 July 2021 03:11 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 4E3843A0BAD for <tsvwg@ietfa.amsl.com>; Fri, 30 Jul 2021 20:11:31 -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 R004jHwRD3bQ for <tsvwg@ietfa.amsl.com>; Fri, 30 Jul 2021 20:11:26 -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 6374D3A0C03 for <tsvwg@ietf.org>; Fri, 30 Jul 2021 20:11:25 -0700 (PDT)
Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id A6DA714567C for <tsvwg@ietf.org>; Fri, 30 Jul 2021 23:11:22 -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=NusM6aMNH41z2X0HJ7a3hjHoRMm6QKDg 3ZWLPZjmJtQ=; b=DA/mJHtN2o1dpo8aIkYS7C+I5fp34nHOm/jcNZaB90L397AY a8A4kNOfyv4gOWWOb/UqkK+1hLazvgW+Hx25GpP6HeGY1Yx8Y3E9XKquzb9AizHM RyraXgmpzNXAkG4IldmDr0iw8Gkl13uIb7tFjs7PxgZltZBI0KtMO5CYmYM=
Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id A0C1614567B for <tsvwg@ietf.org>; Fri, 30 Jul 2021 23:11:22 -0400 (EDT) (envelope-from heard@pobox.com)
Received: from mail-pj1-f44.google.com (unknown [209.85.216.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 5AC47145678 for <tsvwg@ietf.org>; Fri, 30 Jul 2021 23:11:20 -0400 (EDT) (envelope-from heard@pobox.com)
Received: by mail-pj1-f44.google.com with SMTP id j1so17873280pjv.3 for <tsvwg@ietf.org>; Fri, 30 Jul 2021 20:11:20 -0700 (PDT)
X-Gm-Message-State: AOAM533QrWpb4eyNqT2GkBMI0XpsTo6Qcrv7SosLRhvXX0jGoRILFf7j z/dulZvo55Pmzea/7E545GFSPjv8esHFx8FBRkk=
X-Google-Smtp-Source: ABdhPJyrGliwatdkpBQDunBn13h3/WmnTTO6BZLrUvPmQ5Mp2etxNZiGPM1jOSXdpVtxUb+KkLeeJ2AP++2jzgOeL18=
X-Received: by 2002:a63:a42:: with SMTP id z2mr3555231pgk.245.1627701079312; Fri, 30 Jul 2021 20:11:19 -0700 (PDT)
MIME-Version: 1.0
References: <CALx6S36F6dVnbxSfNXwQVvbi+mOuedTbn+jLM5-Q87hjxFM+qw@mail.gmail.com> <05A8BF71-5362-484E-A71A-546C052BDFAB@strayalpha.com> <CALx6S36LOE9eRn6Q2FLoPyf1yVt+c9ekJ5k0wjGOFDx9kn_pMQ@mail.gmail.com> <05371cb4-cc9b-4673-bf43-895e415e2397@pauls-iPhone>
In-Reply-To: <05371cb4-cc9b-4673-bf43-895e415e2397@pauls-iPhone>
From: "C. M. Heard" <heard@pobox.com>
Date: Fri, 30 Jul 2021 20:11:08 -0700
X-Gmail-Original-Message-ID: <CACL_3VH0EO1kFabNrzKFcBPb=pis7YDw3ROV-AjFUZ2iiwNu3Q@mail.gmail.com>
Message-ID: <CACL_3VH0EO1kFabNrzKFcBPb=pis7YDw3ROV-AjFUZ2iiwNu3Q@mail.gmail.com>
To: Paul Vixie <paul@redbarn.org>, Tom Herbert <tom@herbertland.com>, Joseph Touch <touch@strayalpha.com>
Cc: Tsvwg <tsvwg@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000a20d8305c862b03e"
X-Pobox-Relay-ID: FA791E8C-F1AC-11EB-B71A-D5C30F5B5667-06080547!pb-smtp20.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/Qc8nm9iaDdUC0Jwa5Gw7mJab6ZA>
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 03:11:39 -0000

On Thu, Jul 15, 2021 at 2:51 PM Tom Herbert wrote:
> On Thu, Jul 15, 2021 at 2:32 PM Joseph Touch wrote:
> > And there is no way to avoid trailers for non-fragmented packets.
> >
> Right trailers are only needed in that case. In the case of fragment
> using both headers and trailers simultaneously is unnecessary
> complexity that provides no benefit. If just headers are used then the
> system doesn't need to support trailers for that case and header-data
> split continues to work as expected.

On Fri, Jul 16, 2021 at 12:12 AM Paul Vixie replied:
> +1.

Let me add my voice to this. The specification of FRAG in -13 is
unnecessarily complex. We do not need both headers (for per-frag
options) and trailers (for per-datagram options). That format, as
Tom correctly notes, is an impediment to checksum offload for
encapsulated protocols. The generality of allowing any option to
be encoded as per-datagram or per-fragment is a level of flexibility
that is comparable to the flexibility offered by independently
steerable front wheels: it is neither necessary nor safe, as very
few options can serve in both capacities, and there are other ways to
deal with those.

Mike Heard