Strange issue with NDISPROT xmit and network the performance counter

Hi All,

I found a strange behavior of my custom NDISPROT-based driver for
sending/receiving RAW Ethernet packets.

When my driver’s client send/receive Ethernet packets, the transmitted data
is not counted in the TaskManager/Network graph.
While transmit throughput is about 50MB/s the network load is shown as near
zero point.

The received data is counted without problems.

All the traffic sent/received with TCP/IP is shown OK.

So I suspect my NDIS protocol does something wrong (or does not do
something) that leads to the strange issue with the network performance
counters?

Any help or suggestions are highly appreciated.

Best regards,
Valeriy Glushkov

It’s most likely the NIC driver doesn’t handle some statistics OID
correctly. See if they have a driver update.

Calvin Guan (DDK MVP)
Sr. Staff Engineer
NetXtreme NTX Miniport
Broadcom Corporation, Irvine CA 92618
Connecting Everything(r)

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-260639-
xxxxx@lists.osr.com] On Behalf Of Valeriy Glushkov
Sent: Thursday, August 31, 2006 2:09 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Strange issue with NDISPROT xmit and network the
performance counter

Hi All,

I found a strange behavior of my custom NDISPROT-based driver for
sending/receiving RAW Ethernet packets.

When my driver’s client send/receive Ethernet packets, the transmitted
data
is not counted in the TaskManager/Network graph.
While transmit throughput is about 50MB/s the network load is shown as
near
zero point.

The received data is counted without problems.

All the traffic sent/received with TCP/IP is shown OK.

So I suspect my NDIS protocol does something wrong (or does not do
something) that leads to the strange issue with the network
performance
counters?

Any help or suggestions are highly appreciated.

Best regards,
Valeriy Glushkov


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Hi Calvin,

I have tried several NICs of different vendors and 3 test machines - the
results are the same.
Only ‘Bytes received’ is updated when my NDIS protocol sends/receives
packets.
‘Bytes sent’, ‘Unicasts Sent’ and ‘Unicast Received’ are not changed at all.

When I try to use TCP/IP over the interface, all of the counters are updated
correspondingly.

So it seems this is some issue related to the NDIS protocol driver…

Best regards,
Valeriy Glushkov

“Calvin (Hao) Guan” ???:

> It’s most likely the NIC driver doesn’t handle some statistics OID
> correctly. See if they have a driver update.
>
> Calvin Guan (DDK MVP)
> Sr. Staff Engineer
> NetXtreme NTX Miniport
> Broadcom Corporation, Irvine CA 92618
> Connecting Everything(r)
>
> > -----Original Message-----
> > From: xxxxx@lists.osr.com [mailto:bounce-260639-
> > xxxxx@lists.osr.com] On Behalf Of Valeriy Glushkov
> > Sent: Thursday, August 31, 2006 2:09 AM
> > To: Windows System Software Devs Interest List
> > Subject: [ntdev] Strange issue with NDISPROT xmit and network the
> > performance counter
> >
> > Hi All,
> >
> > I found a strange behavior of my custom NDISPROT-based driver for
> > sending/receiving RAW Ethernet packets.
> >
> > When my driver’s client send/receive Ethernet packets, the transmitted
> > data
> > is not counted in the TaskManager/Network graph.
> > While transmit throughput is about 50MB/s the network load is shown as
> > near
> > zero point.
> >
> > The received data is counted without problems.
> >
> > All the traffic sent/received with TCP/IP is shown OK.
> >
> > So I suspect my NDIS protocol does something wrong (or does not do
> > something) that leads to the strange issue with the network
> performance
> > counters?
> >
> > Any help or suggestions are highly appreciated.
> >
> > Best regards,
> > Valeriy Glushkov

----------------------------------------------------------------------------
??? ??? ?? ??? “???” - ??? ???
??? DELL+ ??? = 519,00 ???./???."
http://adamant.ua/colo