X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AF2F03858D3C
Authentication-Results: sourceware.org;
 dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=mime-version:from:date:message-id:subject:to;
 bh=5DovMfZYUE8P6gMnV/zgv8LDKjhiTvnbZAMLdihJ5u0=;
 b=P89WtNdvRbcuxVOibWX6Q86DyhY7U+w8zhFfn9cXDrKeI5Qalxh16/XpK0ahj2JTVl
 nggabL6+yhurLgiriIhhPOZwCz8NUkg5MGORm+heeswasOZhMQeK1lGVkjpEor2Uumwd
 To3979Pm+3SA+Jlyr/e/cft+d3AdxDvmJ6YTy6rwpZb4dSBVCRCryK4Yk53ZDGuFq40r
 pbgibUVjg7fxvE0fb7v+VeYTZIuC4FCbeNE918pvvmF+9/yiduHhbD6xF5SOvWCmpf/R
 gWEAYa48S72t2lPng5yBVGotc02rXMTmmxoRPxW0nOQNgZExPsXHPOXWyz4GWeY7NoWV
 spDw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=5DovMfZYUE8P6gMnV/zgv8LDKjhiTvnbZAMLdihJ5u0=;
 b=uP1jLVSR2Og1LbGInnfcNv0Z82PXZbvQDYFDxFbHXQzz4AWvoeH/XOon8DO4tefjdu
 cE5YeP/V9Es3yJlOOkUVyXNf3l/nnEACtmTAwKLa9JxXdMoLMAFkoKxZ+jgkFvL9CStq
 Kxp9M1LNgvSpXUkMic08AIHLzC9YT0KB8RJoTzqMl8gdPS/TRIO1GbluGzvv5TjNKcsJ
 4k9aAw4XOVlUExcM2qpBEie/u5Q2EQDnvj4UBmPe4l1YRJ709oWaxZaTqoCkU8p3Z/br
 IEeUX/kHKtS23BfrhUck8ZpUyLBVEqhZ9RY0A0mwTh/ibAD1lUBvGxxI/NGKbcCj6I0n
 9yMA==
X-Gm-Message-State: AOAM531TIMYeAV8sD8CtkQg0T6IbVoettZOn3vf/MvGobF0wh7xvv7iV
 6mAl33u0NYAbzgpCOhhe3YzpANaCcghEboVHwXtWroTNRVQ=
X-Google-Smtp-Source: ABdhPJxN/CXHfmU1kxS7d0IW/pb/bbA/XFVu90cKA4iaeUP0bpdY6/UI3q8uQElE/6RIzXafED0VBN+cxg90sUVURJI=
X-Received: by 2002:a05:6638:3043:b0:314:7ce2:4a6e with SMTP id
 u3-20020a056638304300b003147ce24a6emr5033498jak.258.1651500675359; Mon, 02
 May 2022 07:11:15 -0700 (PDT)
MIME-Version: 1.0
From: Rony Ross <rony.ross@gmail.com>
Date: Mon, 2 May 2022 17:11:04 +0300
Message-ID: <CAMnBwJRfAxbFiz4LSdX4m2P_gKcMbzS=GYfUHLTiyUdMqi2Jfg@mail.gmail.com>
Subject: Supporting new Windows UDP offload features
To: cygwin@cygwin.com
X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP,
 T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

Hello,

Starting from Windows 10 version 2004, Windows supports UDP
segmentation offload and UDP receive coalescing as described in
https://docs.microsoft.com/en-us/windows-hardware/drivers/network/udp-segmentation-offload-uso-#ndis-interface-changes
and in https://docs.microsoft.com/en-us/windows/win32/winsock/ipproto-udp-socket-options
It seems that in order to support UDP segmentaion offload and UDP
receive coalescing, cygwin needs to add support for UDP_SEND_MSG_SIZE
and UDP_RECV_MAX_COALESCED_SIZE socket options for IPPROTO_UDP

Could you please add it? If so, could you please estimate when it will
be available?

Thanks you,
Rony

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
