From owner-cvs-all Mon Jul 8 17:38:34 2002 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 1375F37B400; Mon, 8 Jul 2002 17:38:28 -0700 (PDT) Received: from patrocles.silby.com (d180.as20.nwbl0.wi.voyager.net [169.207.139.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9190843E52; Mon, 8 Jul 2002 17:38:26 -0700 (PDT) (envelope-from silby@silby.com) Received: from patrocles.silby.com (localhost [127.0.0.1]) by patrocles.silby.com (8.12.4/8.12.4) with ESMTP id g690frcv020147; Mon, 8 Jul 2002 19:41:53 -0500 (CDT) (envelope-from silby@silby.com) Received: from localhost (silby@localhost) by patrocles.silby.com (8.12.4/8.12.4/Submit) with ESMTP id g690fnIO020144; Mon, 8 Jul 2002 19:41:51 -0500 (CDT) X-Authentication-Warning: patrocles.silby.com: silby owned process doing -bs Date: Mon, 8 Jul 2002 19:41:47 -0500 (CDT) From: Mike Silbersack To: David Greenman-Lawrence Cc: Peter Wemm , Luigi Rizzo , Don Lewis , , Subject: Re: cvs commit: src/sys/dev/fxp if_fxp.c In-Reply-To: <20020708171508.E71311@nexus.root.com> Message-ID: <20020708194025.W19349-100000@patrocles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 8 Jul 2002, David Greenman-Lawrence wrote: > I suspect that Luigi doesn't understand how the fxp driver transmit side > works, especially in the way that transmit interrupts are done. Transmit > interrupts are only generated as a way of garbage collection when there > are no more descriptors available. This is an important optimization and > is a fundamental difference from the way most other drivers work. > In other words, transmit interrupts don't happen for every packet (or > even set of packets) like I think Luigi is expecting. > > -DG However, the descriptors will be cleaned up once per second in any case, correct? If that is true, then the change only needs the slight tweak I posted a few hours ago, but will otherwise work correctly. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message