microsoft / Network-Adapter-Class-Extension

Network Adapter Class Extension to WDF (NetAdapter Cx) makes it easy to write high quality and high speed drivers for Network Interface Controllers
MIT License
53 stars 17 forks source link

netadaptercx problem with LSOv2: On/Ipv6 Extension: On in windows11 24H2 build no 26100 #21

Open lvwh2003 opened 1 month ago

lvwh2003 commented 1 month ago

Hi
I am a developer for netadapter driver . the netadapter driver have pass the WHLK test in windows os 22H2 and 23H2. now we want pass the whlk test in 24H2. when LSOV2 on and IPV6 extension on of whlk offloadlso test in 24h2, we get net packet parameter NET_PACKET_LAYOUT from NET_PACKET in EVT_PACKET_QUEUE_ADVANCE callback function. find the Layout.Layer3HeaderLength and Layer4HeaderLength is not right length compare to test case of WHLK offloadlso and wireshark .the offloadlso whlk test report "The miniport has not finished the LSOv1/v2 send correctly for 30 packets. The reason for this failure may be that the miniport has not set the send complete OOB correctly.Tcp module expected to get 30 reassembled packets, but only got 0. There are 30 missing packets" error. example :the actual value is Layer2HeaderLength = 14, Layer3HeaderLength = 56 , Layer4HeaderLength = 20,but get from NET_PACKET is Layout.Layer2HeaderLength = 14, Layout.Layer3HeaderLength = 0 , Layout.Layer4HeaderLength = 0.

image image image image image I try to Parser netpacket header in driver , use the actual layout parameter to send larget pacet and can send right fragment packet. but the offloadlso whlk test still report "The miniport has not finished the LSOv1/v2 send correctly for 30 packets. The reason for this failure may be that the miniport has not set the send complete OOB correctly" error. image

     can you help me find the failure reason for the WHLK test  offloadlso?
amrutha-chandramohan commented 1 month ago

Please contact the CSS team using the instructions here to obtain an errata for this bug while we work on a fix for this issue in 24H2: https://learn.microsoft.com/en-us/windows-hardware/test/hlk/user/windows-hlk-support

lvwh2003 commented 1 month ago

addition information: ndis driver can pass whlk offloadlso test in 24h2。 windows hlk support need to creat support request and i need to apply from my boss.