Windows XP Community - XPHeads



Help Needed to Interpret the NDIS/DTM Test Result

microsoft.public.windowsxp.winlogo


Reply
  #1 (permalink)  
Old 01-24-2008, 02:15 PM
narsha@gmail.com
 
Posts: n/a
Help Needed to Interpret the NDIS/DTM Test Result
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


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-24-2008, 03:09 PM
PCAUSA
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:36 AM.








Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74