It looks like if the chip goes to sleep, em_watchdog() is invoked and if_oerrors is incremented. However, em_update_stats_counters() overwrites if_oerrors every 2 seconds with the sum of excessive and late collisions. So the output error counter for does not tally watchdog timeouts and also can be seen to decrease. Fix: If it's desirable to keep track of watchdog timeouts (I believe it is) a simple fix would be to tally watch dog timeouts separately and then add them in when calculating if_oerrors in em_update_stats_counters(). An untested, partital suggested fix is appended ==============================================================================
Responsible Changed From-To: freebsd-i386->freebsd-bugs This does not sound i386-specific.
State Changed From-To: open->closed I've fixed this recently and merged to RELENG_6.
Responsible Changed From-To: freebsd-bugs->glebius I've fixed this recently and merged to RELENG_6.