I can't with MacOS but for Windows 10, make sure you're on driver 2.1.21.0 (or newer).
In Device Manager for the NIC, on the Power Management tab, I have the following options set:
[x] Allow the computer to turn off this device to save power (you could try unchecking this, but for me, it...