* Supporting new Windows UDP offload features
@ 2022-05-02 14:11 Rony Ross
2022-05-02 17:51 ` Brian Inglis
2022-05-02 17:54 ` Corinna Vinschen
0 siblings, 2 replies; 6+ messages in thread
From: Rony Ross @ 2022-05-02 14:11 UTC (permalink / raw)
To: cygwin
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Supporting new Windows UDP offload features
2022-05-02 14:11 Supporting new Windows UDP offload features Rony Ross
@ 2022-05-02 17:51 ` Brian Inglis
2022-05-02 17:54 ` Corinna Vinschen
1 sibling, 0 replies; 6+ messages in thread
From: Brian Inglis @ 2022-05-02 17:51 UTC (permalink / raw)
To: cygwin
On 2022-05-02 08:11, Rony Ross wrote:
> 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?
Cygwin is an all-volunteer non-commercial open source POSIX/Linux
emulation project, typically driven by developers' needs and interests,
sometimes offering patchsets to add or enable features previously
available in BSD flavours.
If you are not a developer capable of doing so, you will have to wait
and see if any developer is inspired by your post, and has the free time
to work on it.
You might want to help this along by expanding on some description of
use cases, impacts, advantages, benefits, downsides, Unix parameters and
implementations to be supported for emulation, Unix and Windows
configuration of features, and availability on NICs, of those network
features.
--
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Supporting new Windows UDP offload features
2022-05-02 14:11 Supporting new Windows UDP offload features Rony Ross
2022-05-02 17:51 ` Brian Inglis
@ 2022-05-02 17:54 ` Corinna Vinschen
1 sibling, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2022-05-02 17:54 UTC (permalink / raw)
To: cygwin; +Cc: Rony Ross
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Supporting new Windows UDP offload features
2022-09-19 8:23 ` Rony Ross
@ 2022-09-19 19:27 ` Ken Brown
0 siblings, 0 replies; 6+ messages in thread
From: Ken Brown @ 2022-09-19 19:27 UTC (permalink / raw)
To: cygwin
On 9/19/2022 4:23 AM, Rony Ross wrote:
> I've been using the USO feature and it works well. Thanks!
> Was this feature officially released?
No, it will be in the next major release (3.4.0), probably before the end of the
year.
Ken
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Supporting new Windows UDP offload features
2022-05-24 5:50 rony.ross
@ 2022-09-19 8:23 ` Rony Ross
2022-09-19 19:27 ` Ken Brown
0 siblings, 1 reply; 6+ messages in thread
From: Rony Ross @ 2022-09-19 8:23 UTC (permalink / raw)
To: cygwin
I've been using the USO feature and it works well. Thanks!
Was this feature officially released?
Regards,
Rony
On Tue, 24 May 2022 at 08:50, <rony.ross@gmail.com> wrote:
>
> Could you please make such test version? I should be able to verify it.
>
>
>
> Regard,
>
> Rony
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Supporting new Windows UDP offload features
@ 2022-05-24 5:50 rony.ross
2022-09-19 8:23 ` Rony Ross
0 siblings, 1 reply; 6+ messages in thread
From: rony.ross @ 2022-05-24 5:50 UTC (permalink / raw)
To: cygwin
Could you please make such test version? I should be able to verify it.
Regard,
Rony
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-09-19 19:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-02 14:11 Supporting new Windows UDP offload features Rony Ross
2022-05-02 17:51 ` Brian Inglis
2022-05-02 17:54 ` Corinna Vinschen
2022-05-24 5:50 rony.ross
2022-09-19 8:23 ` Rony Ross
2022-09-19 19:27 ` Ken Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).