NDIS driver testing and certification 11/19/2018 12:05 PM HW-667P NDIS driver testing and certification Michael Nanakul Senior Test Lead Aniruddha Jahagirdar SDET II Microsoft Corporation © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Agenda Part 1: LAN tests in the Windows Hardware Certification Kit improvements Part 2: LAN Test Improvements Part 3: NDISTest debugging
Networking that just works is essential for customers to have great Windows 8 experiences.
LAN Tests Windows Hardware Certification Kit
We Listened To You Make the tests easier to run Increase test reliability and effectiveness Optimize runtime Easy to automate Easy to debug
LAN Test Topology Test Client SupportMachine Back-to-back Backchannel Switch
Alternate LAN Test Topology Storage Test Client Support Machine Test Switch Backchannel Switch
Windows Hardware Certification Kit demo LAN Device Testing Windows Hardware Certification Kit
Other Environment Requirements RSS requires >= 4 physical cores Machines must saturate 90% of maximum link speed QoS-required storage is capable of writing at 20% of maximum link speed SR-IOV
Windows HCK Improvements Granular jobs Custom parameters and machine configuration expansion Programmatic interface for automation Lots of test reliability improvements
Related sessions [659] Windows Hardware Certification Kit
Further reading and documentation Windows Hardware Certification Kit documentation The NDIS Blog – http://blogs.msdn.com/b/ndis NDISTest Contact info – ndiststr@microsoft.com Tools for Testing Drivers Windows Logo Program for Hardware: Overview Windows Hardware Dev Center Windows Dev Center
11/19/2018 12:05 PM © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
NDIS Driver Testing and Certification – Part 2 11/19/2018 12:05 PM 667 NDIS Driver Testing and Certification – Part 2 Michael Nanakul Senior Test Lead Aniruddha Jahagirdar SDET II Microsoft Corporation © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Networking that just works is essential for customers to have great Windows 8 experiences.
LAN Test Improvements
Run the LAN certification tests early during driver development
New Feature Test Suites Quality of Service (QoS) Single Root IO Virtualization (SR-IOV) RDMA Receive Segment Coalescing (RSC)
Other New Tests to Watch For Standardized keywords Generic NDIS miniport tests Offload parity Power requirements New Wake-On-LAN tests
NDIS Filter Testing
Filter Testing Techniques Utilize the NDISTest LAN tests Filters for the Hyper-V Extensible Switch Focus on plug-and-play Utilize the device fundamentals tests
Related sessions [433] Network Acceleration and Other NIC Technologies for the Data Center [659] Windows Hardware Certification Kit
Further reading and documentation Windows Hardware Certification Kit documentation The NDIS Blog – http://blogs.msdn.com/b/ndis NDISTest Contact info – ndiststr@microsoft.com Tools for Testing Drivers Windows Logo Program for Hardware: Overview Windows Hardware Dev Center Windows Dev Center
11/19/2018 12:05 PM © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
NDIS Driver Testing and Certification – Part 3 11/19/2018 12:05 PM 667 NDIS Driver Testing and Certification – Part 3 Michael Nanakul Senior Test Lead Aniruddha Jahagirdar SDET II Microsoft Corporation © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
NDISTest Debugging
Have you ever seen this?
…or a stack trace like this? 0: kd> k Child-SP RetAddr Call Site fffff880`15169808 fffff800`019332fb nt+0x8b4c0 fffff880`15169810 fffff800`0144df77 nt+0x54c2fb fffff880`15169850 fffff800`014a30cd nt+0x66f77 fffff880`151698d0 fffff800`0144dcde nt+0xbc0cd fffff880`15169900 fffff800`014aa104 nt+0x66cde fffff880`1516a010 fffff800`014718c2 nt+0xc3104 fffff880`1516a6d0 fffff800`01470f73 nt+0x8a8c2 fffff880`1516a8b0 fffff800`01469c18 nt+0x89f73 fffff880`1516aa48 fffff800`015442e5 nt+0x82c18 fffff880`1516aa50 fffff880`1692d9ef nt+0x15d2e5 fffff880`1516aaa0 fffff880`1694bd79 ndprot630+0x8b9ef fffff880`1516ab00 fffff880`1697d509 ndprot630+0xa9d79 fffff880`1516ab40 fffff880`169a1af7 ndprot630+0xdb509 fffff880`1516abc0 fffff800`017aaa18 ndprot630+0xffaf7 fffff880`1516ac10 fffff800`014bb346 nt+0x3c3a18 fffff880`1516ac60 00000000`00000000 nt+0xd4346
Driver developers are now empowered to easily debug NDISTest breakpoints
Debugging NDISTest Protocol Breakpoints demo Debugging NDISTest Protocol Breakpoints
Debugging NDISTest and Drivers Utilize the NDISTest protocol options to manually debug protocol breakpoints during tests Leverage the public symbol files and ndtkd debugger extension for debugging ndprot assertions NDIS WPP Tracing NDISKD enhancements NetBufferList Tracking
Related sessions SAC-433T: Network acceleration and other NIC technologies for the data center HW-659T: Certifying hardware with the Windows Hardware Certification Kit
Further reading and documentation Windows Hardware Certification Kit documentation The NDIS Blog – http://blogs.msdn.com/b/ndis NDISTest Contact info – ndiststr@microsoft.com Tools for Testing Drivers Windows Logo Program for Hardware: Overview Windows Hardware Dev Center Windows Dev Center
thank you Feedback and questions http://forums.dev.windows.com Session feedback http://bldw.in/SessionFeedback
11/19/2018 12:05 PM © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.