From owner-cvs-src@FreeBSD.ORG Tue Apr 6 00:58:59 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C0B016A4CE; Tue, 6 Apr 2004 00:58:59 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 561A643D3F; Tue, 6 Apr 2004 00:58:59 -0700 (PDT) (envelope-from ru@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i367wXGe065217; Tue, 6 Apr 2004 00:58:33 -0700 (PDT) (envelope-from ru@repoman.freebsd.org) Received: (from ru@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i367wWOa065216; Tue, 6 Apr 2004 00:58:32 -0700 (PDT) (envelope-from ru) Message-Id: <200404060758.i367wWOa065216@repoman.freebsd.org> From: Ruslan Ermilov Date: Tue, 6 Apr 2004 00:58:32 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/pci if_ste.c if_stereg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 07:58:59 -0000 ru 2004/04/06 00:58:32 PDT FreeBSD src repository Modified files: sys/pci if_ste.c if_stereg.h Log: - Improved the TX performance with polling(4) by only checking the status registers for error conditions and updating statistics when there are cycles left (inspired by the nge(4) driver). - Removed the TX list counter and the producer/consumer gap; it's enough to just ensure we don't reuse the last (free) descriptor, as the chip may not have read its next pointer yet. If we reuse it, the TX may stall under a heavy TX load with polling enabled. - Dropped code to recharge the watchdog timer, it's pointless; the watchdog routine will re-init the chip and both RX and TX lists. Revision Changes Path 1.70 +11 -15 src/sys/pci/if_ste.c 1.15 +0 -1 src/sys/pci/if_stereg.h