From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) by sourceware.org (Postfix) with ESMTPS id 1A0B13857825 for ; Mon, 2 May 2022 17:55:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1A0B13857825 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M8QJq-1nhAPK2MiW-004QGB; Mon, 02 May 2022 19:54:58 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 179DBA80889; Mon, 2 May 2022 19:54:58 +0200 (CEST) Date: Mon, 2 May 2022 19:54:58 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Cc: Rony Ross Subject: Re: Supporting new Windows UDP offload features Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com, Rony Ross References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:o+ADf1EIekZTrYLRahHaHDWE/BdvuhGxnFCJt6Yit+wwAd8EF37 F6nyvxs5c2w6cUYU2nWTdNGrqGdAgae3UmkomCvfmN/8EOfVagZ8KM1e3zgU9dhkof3aHHK 4EYTJtt2qMgwee8uLft4xOoi/WejEJhgZHSeHbhPon4vDDX3gHSKe9Kr9rK86ATGfPy4niM lkV11Nq+kFR+OSGJp3MMA== X-UI-Out-Filterresults: notjunk:1;V03:K0:P4j1QTyQhts=:lLXDS5BYgySJbhN1odzguB c5UIYAJtRmJ22lHB+Q30WzCsC7F4NSsaA2kohogogi19EkpOLOkUDU20A1rFGGSLlyrv9wbi2 fdQbBrNFVyR3FbxcJS0gYmBP7okg6xy5DKIxAOEvrmQUbALFsj5G84x90jt3X7oSTLFBUxy9T phJjZqgAlUbVh/0daWv+ZxbnT0B3h/BBC1DtKajw5BPWRwmC3nOpJ+JILKBKww5Z9mssNmCdJ MsDxNav5WH5VQX88V8u5KWW6QZJyo0/HRf80wQiprJWXFTRDZwkJPbkCXG+h3zh2hftiYg38+ JDP+bOD8FJD/aqJU3ZDDPuSE9zIqhLCzTZhqhBWKLAjGeZ3y/zEbfIliT4109OdizZ8H+mHpk gLXQaEphyiN6naM6qd2YlfvPvI4EpyyqZy9WSGoB7Ud16kkWmbUrK3xT+21f9LtZQSb4Y0OnO M3LZGkf8Yb908YZMGoQ+WT016l5bbe9TCA1OOPzPqQTJGh5QJJp5mdx8Rc6D0LJtKxAtgZdO6 SYtjtYKX83exTkcIwepQg8ZqJl/AbMNSA7p4TKNUECV/msfTzfVZWQTYW1R73zGNiV9GNTc+L fGY6hZrgifaohrDRASzqjJYum4NQbim9XziG6KH8xYr2A3LcQCm4Ljyeo1tf5oS8A3gC6rAHy fkprsvmFNq3M2vib5mBCYI5g+NITgTMuaohDiVbD8ruVp5DBXB94iq6SH3b7B4SlZbEZGHJao aWU0t130VOVx0oEb X-Spam-Status: No, score=-95.0 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_NONE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_FAIL, SPF_HELO_NONE, 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 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2022 17:55:26 -0000 On May 2 17:11, Rony Ross wrote: > 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? Reading about those, it looks like they might be drop-in solutions to implement the Linux UDP_SEGMENT and UDP_GRO socket options. Knowing Windows however, I'm sure there's a twist somewhere... > If so, could you please estimate when it will be available? In the hopes they work the same way, I can make the UDP_SEGMENT and UDP_GRO socket options available in the next major Cygwin version. Availability, probably at some point late this year. Or later. We're not at a point where this is safe to say. However, test versions can be made available rather soon, I think. Corinna