From owner-cvs-all@FreeBSD.ORG Wed Nov 9 15:23:55 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52FDC16A41F; Wed, 9 Nov 2005 15:23:55 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1591A43D4C; Wed, 9 Nov 2005 15:23:55 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id jA9FNsSh074490; Wed, 9 Nov 2005 15:23:54 GMT (envelope-from glebius@repoman.freebsd.org) Received: (from glebius@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id jA9FNsWK074489; Wed, 9 Nov 2005 15:23:54 GMT (envelope-from glebius) Message-Id: <200511091523.jA9FNsWK074489@repoman.freebsd.org> From: Gleb Smirnoff Date: Wed, 9 Nov 2005 15:23:54 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/em if_em.c if_em.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 15:23:55 -0000 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