Date: Wed, 9 Nov 2005 15:23:54 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/em if_em.c if_em.h Message-ID: <200511091523.jA9FNsWK074489@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
glebius 2005-11-09 15:23:54 UTC
FreeBSD src repository
Modified files:
sys/dev/em if_em.c if_em.h
Log:
- Introduce two more stat counters, counting number of RX
overruns and number of watchdog timeouts.
- Do not log(9) RX overrun events, since this pessimizes
things under load [1].
- Do not increase if->if_oerrors in em_watchdog(), since
this leads to counter slipping back, when if->if_oerrors
is recalculated in em_update_stats_counters(). Instead
increase watchdog counter in em_watchdog() and take it
into account in em_update_stats_counters().
Submitted by: ade [1]
Revision Changes Path
1.84 +7 -3 src/sys/dev/em/if_em.c
1.37 +2 -1 src/sys/dev/em/if_em.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511091523.jA9FNsWK074489>
