Re: [tsvwg] Alternative version of the UDP FRAG option

Joe Touch <touch@strayalpha.com> Sat, 16 March 2019 19:06 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 6F34412F295 for <tsvwg@ietfa.amsl.com>; Sat, 16 Mar 2019 12:06:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.219
X-Spam-Level:
X-Spam-Status: No, score=-1.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, SPF_NEUTRAL=0.779] 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 026dbb5YYlGX for <tsvwg@ietfa.amsl.com>; Sat, 16 Mar 2019 12:06:36 -0700 (PDT)
Received: from server217-3.web-hosting.com (server217-3.web-hosting.com [198.54.115.226]) (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 3BCDA12E04D for <tsvwg@ietf.org>; Sat, 16 Mar 2019 12:06:36 -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: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: 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=pDRwp8SDGp8F6QJbH/E8AdsLfZfbfq5zeJGNBN4yfYA=; b=NjHmuHyOtZIByjjntP8Qyxrxr nN8e9czMw8rtDvHBJ9UAqDT4ilczEtNfPvov7j2+BUMJnwg0VMxddzZuZnLDDB0cUBAKIx+/VL/Yz tB07I7Cx8GYYG8Ea4IqFmj+yjz1ZK/uVl5NUDs4pqiMQFzx8ThkgBbXHAISkP3X45TkmBH7SYz1he IopHHxUcy4S5Wih4s8D7umyDxFj/TWfvS5URH2dRkNNutOKbtIQLFBdLvuL3yqCfyvUEodRH7nn4f MSNVia9GXyiSbwQd4ZwNEFS8zKK0HplfUbMyPIN0+VvVdIJJslkZihOvxNUwsPzUvV0XW7ZWKz3V0 lemgrkt1Q==;
Received: from cpe-172-250-240-132.socal.res.rr.com ([172.250.240.132]:53272 helo=[192.168.1.16]) by server217.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <touch@strayalpha.com>) id 1h5Ede-002PNW-5y; Sat, 16 Mar 2019 15:06:34 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail-0C255141-3101-4C8A-85D5-501E81FFF980"
Mime-Version: 1.0 (1.0)
From: Joe Touch <touch@strayalpha.com>
X-Mailer: iPad Mail (16D57)
In-Reply-To: <CALx6S346xiDyHR3Ww=da+GJiAD7RDeEd6ZSx77k2ODqqX2s_CA@mail.gmail.com>
Date: Sat, 16 Mar 2019 12:06:33 -0700
Cc: "C. M. Heard" <heard@pobox.com>, tsvwg <tsvwg@ietf.org>
Content-Transfer-Encoding: 7bit
Message-Id: <273890DF-B1B3-4AB7-A7A8-CE4679E93EB0@strayalpha.com>
References: <CACL_3VE1=0OORUuOKg9GjcdVuhBNTkWhymE7PAs5WYO0ZR0DWQ@mail.gmail.com> <CALx6S37y_AbESyX5PcCSu7NEr-uPVrPXksEeAx5aSNAyqshL6Q@mail.gmail.com> <FB9C6714-4742-4730-A439-B6FAA6054C5D@strayalpha.com> <CALx6S346xiDyHR3Ww=da+GJiAD7RDeEd6ZSx77k2ODqqX2s_CA@mail.gmail.com>
To: Tom Herbert <tom@herbertland.com>
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/1SOfzK6duuqO2p8yj-SKcS5PJc0>
Subject: Re: [tsvwg] Alternative version of the UDP FRAG option
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, 16 Mar 2019 19:06:37 -0000


> On Mar 16, 2019, at 11:37 AM, Tom Herbert <tom@herbertland.com> wrote:
> 
> 
> 
>> On Sat, Mar 16, 2019, 11:21 AM Joe Touch <touch@strayalpha.com> wrote:
>> 
>> 
>>> On Mar 16, 2019, at 9:06 AM, Tom Herbert <tom@herbertland.com> wrote:
>>> Hi Mike,
>>> 
>>> Thinking about this, it occurs to me be that the LITE option isn't
>>> needed.
>> 
>> AFAICT, there is no LITE option the way you have been trying to evolve it. 
>> 
>>> The assumption in the UDP options draft is that a receiver
>>> needs the UDP payload to immediately follow the UDP header, but the
>>> UDP payload can be anywhere in the surplus area as long as it's
>>> aligned to four bytes. A receiver will know how to handle it and
>>> deliver the UDP data to the application (e.g. by maintaining a pointer
>>> to the data).
>>> 
>>> So that allows a format like:
>>> 
>>> UDP header (Length=8) | Surplus area header | Options | Payload
>> 
>> That’s DOA for legacy receivers.
> 
> 
> Legacy receivers see a UDP datagram with zero payload, just like LITE.

I misunderstood payload to also include cases where Len > 8. Fair enough.
> 
>> 
>> It also basically kills zero-copy.
> 
> 
> Exactly how does it do that?

Zero copy UDP would need to I’ve the lite payload after it has already been placed in memory. That’s not true for the current approach (it was a design goal, in fact, to allow it).

Joe