none
Offload Checksum WHQL test failure RRS feed

  • Question

  • Hi,

    I am new to driver developement,started developing a NDIS 6.20 Miniport Network Driver and hit some problem about checksum. Reporting to NDIS that I support checksum offload for IPv4, TCP/UDP(Ipv4/Ipv6) in the QUERY to OID_OFFLOAD_ENCAPSULATION, and I get all capabilities in SET Request OID_OFFLOAD_ENCAPSULATION. During OID_TCP_OFFLOAD_PARAMETERS SET request, we indicated the Current Offload capabilities. At transmit side NBL properties ( from NDIS_TCP_IP_CHECKSUM_NET_BUFFER_LIST_INFO structure) are updated correctly .

    When we test manually(Checking the Offload by file transfering, net browsing) it is working fine but WHQL test gives the error ( Tcp module expected to get 30 packets with correct checksum, but only accepted 0 ) for Transmit Offload Checksum.

    Please suggest any solution to solve this problem,

    Thanks in advance.

    Tuesday, October 22, 2013 3:51 AM

All replies

  •      My Offloading is hardware algorithm, we just updated transmit descriptor fields like(commands, headers) in s/w.
    In WHQL test, I figured out that the below jobs, MTU size= 1480

    The below jobs are Ipv4 tcp offload enable
    Failed jobs:
    1. Test Tcp send checksum offload with Ipv4 ( Tcp checksum send offload: On/Tcp Option: Off/Ipv4 Option: Off). Packet count: 30; Packet header size: 54; Packet total size 55

    2. Test Tcp send checksum offload with Ipv4 ( Tcp checksum send offload: On/Tcp Option: Off/Ipv4 Option: Off). Packet count: 30; Packet header size: 54; Packet total size 775

    3. Test Tcp send checksum offload with Ipv4 ( Tcp checksum send offload: On/Tcp Option: Off/Ipv4 Option: Off). Packet count: 30; Packet header size: 54; Packet total size 1496

    Passed cases:
    1. Test Tcp send checksum offload with Ipv4 ( Tcp checksum send offload: On/Tcp Option: Off/Ipv4 Option: Off). Packet count: 30; Packet header size: 54; Packet total size 55

    2. Test Tcp send checksum offload with Ipv4 ( Tcp checksum send offload: On/Tcp Option: Off/Ipv4 Option: Off). Packet count: 30; Packet header size: 54; Packet total size 775

    3. Test Tcp send checksum offload with Ipv4 ( Tcp checksum send offload: On/Tcp Option: Off/Ipv4 Option: Off). Packet count: 30; Packet header size: 54; Packet total size 1496

    Both passed and failed jobs are in same test, my doubt is why it is failed 1st time n passed next time, I enable the flags in code correctly whatever the test wants ( like Tcp Ipv4 enable r disable), I cross checked the code when test runs by using debug prints, it clears that the flags updated correctly .


    Thursday, October 24, 2013 5:25 AM
  • Hi Vamshi,

    We are also facing the same issue in the receive path. But for us sending path was working fine.

    Have you resolved this problem. If you solve plz let me know.

    Wednesday, March 25, 2015 11:36 AM