Date: Tue, 6 Apr 2004 00:58:32 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/pci if_ste.c if_stereg.h Message-ID: <200404060758.i367wWOa065216@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404060758.i367wWOa065216>