xdp-for-windows
xdp-for-windows copied to clipboard
XDP speeds up networking on Windows
Use FNMP to generate a variety of packet data during fuzz testing. This closes a significant test gap. FNMP should also be able to hit various control paths not covered...
We must support multiple architectures in one nuget in the future, so place all binaries under `arch` directories within the nuget. We must make this change before 1.1.
Use LOG_AND_BAIL_ON_ERROR style macros to ensure each failure path has a unique logging statement.
XDP mostly uses IO_NO_INCREMENT (or just plain `0`) when completing IO. This should be configurable.
WS2019 debug https://github.com/microsoft/xdp-for-windows/actions/runs/10306657513/job/28537024134?pr=638#step:6:317 ``` 2024-08-08T21:21:01.8208845Z Passed GenericRxForwardGroTcpOptionsV6 [1 m 21 s] 2024-08-08T21:21:32.8483577Z Timer.IsExpired() not false 2024-08-08T21:21:38.8471319Z Failed GenericLwfDelayDetachRx [37 s] 2024-08-08T21:21:38.8487219Z Error Message: 2024-08-08T21:21:38.8489646Z Assert failed. Stop test execution. 2024-08-08T21:21:38.8493007Z...
Since the TCP/UDP pseudoheader consists of a bunch of fields of known size, optimize the checksum calculation to avoid needless looping and conditions. Consider #630 along with this.