|
Re: Help Needed to Interpret the NDIS/DTM Test Result
On Jan 24, 10:15*am, nar...@gmail.com wrote:
> Hi Folks,
>
> I am in the process of running the NDISTest for our miniport driver.
> When running the 2c_oidsndisrequest, i faced errors stating,
>
> Variation #100
> [88888] Packets/bytes transmitted statistics not as expected
> Variation #102
> [88888] Packets/bytes transmitted statistics not as expected
> Variation #104
> [88888] Packets/bytes transmitted statistics not as expected
> Variation #110
> [88888] Packets/bytes transmitted statistics not as expected
>
> The following is the descprition of variation 100
> ---------------------------------------------------------------------
>
> ***** Per-Source-Address Packet reception data ****
> Source Address : 00-14-5E-55-DB-3D
> Packets Received * * * * * *= * * * *100 *(Sum of next two lines)
> *-- Receive handler * * * * = * * * *100 *(Ndis calls to
> ProtocolReceive)
> *-- ReceivePacket handler * = * * * * *0 *(Ndis calls to
> ProtocolReceivePacket)
> Packet Receives Complete * *= * * * *100 *(Ndis calls to
> ProtocolReceiveComplete)
> Packets Resent * * * * * * *= * * * *100
> Packet Resends Pended * * * = * * * *100
> Packet Resends Completed * *= * * * *100
>
> ***** Aggregated Packet reception data ****
> Total Packets Received * * * * * *= * * * *100 *(Sum of next two
> lines)
> *-- Total Receive handler * * * * = * * * *100 *(Ndis calls to
> ProtocolReceive)
> *-- Total ReceivePacket handler * = * * * * *0 *(Ndis calls to
> ProtocolReceivePacket)
> Total Packet Receives Complete * *= * * * *100 *(Ndis calls to
> ProtocolReceiveComplete)
> Total Packets Resent * * * * * * *= * * * *100
> Total Packet Resends Pended * * * = * * * *100
> Total Packet Resends Completed * *= * * * *100
> Should receive 146400 bytes and transmit 146400 bytes
> -------------------------------> 1
> NdisRequest
> - OpenId = 0x01010001
> - OID = OID_GEN_DIRECTED_BYTES_RCV
> Directed Bytes Received OK = 294854
> ------------------------------------------>4
> Difference = 146400
> ---------------------------------------------------------------------------*--------------------> 2
>
> NdisRequest
> - OpenId = 0x01010001
> - OID = OID_GEN_DIRECTED_BYTES_XMIT
> Directed Bytes Transmitted OK =
> 293385--------------------------------------->5
> Difference = 144936
> ---------------------------------------------------------------------------*-------------> 3
>
> FAILED: [88888] Packets/bytes transmitted statistics not as expected
>
> 1-> I guess this means the test is doing to send and receive 146400
> bytes over the test adapter. Is it right or wrong
>
> 2,3-> I couldnt match this difference field with any of the numbers
> present there. Could some one please tell me what does this difference
> mean.
>
> 4,5-> I guess this is the number of bytes transmitted over the test
> adpater. Yes/No?
> Regards,
> NHKR
146400 - 144936 = 1464
It looks to me that your transmit counter failed to count the bytes
for one of the 100 transmit packets.
Are you using Interlocked functions to increment your statistics
counters?
Some other simple mistake???
Thomas F. Divine
|