Supporting new Windows UDP offload features

Corinna Vinschen corinna-cygwin@cygwin.com
Mon May 2 17:54:58 GMT 2022


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


More information about the Cygwin mailing list