[tulip] Bug in tulip_interrupt?

Donald Becker becker@scyld.com
Tue Feb 19 19:59:01 2002


On Tue, 19 Feb 2002, Bhavesh P. Davda wrote:

> In that case, why would I see a case where though xmits and recvs appear
> to be working on the device, the tx_carrier_errors and tx_errors are
> getting incremented while tx_packets is not?

If the packet couldn't be transmitted because of an error only the
error count should increment, the tx_packets count.

> The only way I could get the device out of this state was to ifconfig
> the device down, rmmod tulip, and insmod tulip again. Once I did that,
> all net_device_stats were cleared for the device, and tx_packets started
> incrementing correctly, while tx_carrier_errors and tx_errors stayed 0.

You were seeing some other effect.  The change you suggest would have no
beneficial influence.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993