From owner-freebsd-net Sat Oct 27 2:52:58 2001 Delivered-To: freebsd-net@freebsd.org Received: from silby.com (cb34181-a.mdsn1.wi.home.com [24.14.173.39]) by hub.freebsd.org (Postfix) with ESMTP id E937237B401 for ; Sat, 27 Oct 2001 02:52:55 -0700 (PDT) Received: (qmail 92360 invoked by uid 1000); 27 Oct 2001 09:52:54 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 27 Oct 2001 09:52:54 -0000 Date: Sat, 27 Oct 2001 04:52:54 -0500 (CDT) From: Mike Silbersack To: Alfred Perlstein Cc: Soren Kristensen , Luigi Rizzo , , Terry Lambert Subject: Re: NEW CODE: polling support for device drivers. In-Reply-To: <20011027035240.Q15052@elvis.mu.org> Message-ID: <20011027044854.X88536-100000@achilles.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Sat, 27 Oct 2001, Alfred Perlstein wrote: > > Is it possible to implement all the basic packet forwarding to run to > > completion at interrupt, ie, when a packet comes in, the interrupt code > > would run until the packet has been sent out on another interface, and > > then loop back to see if there's more incomming packets, in a polling > > fashion. > > > > That would give the advantage of the polling, but without the latency. > > > > I'm mostly a hardware guy, so bear over with me if it's not possible at > > all.... > > Actually your idea is sort of what Terry Lambert posted about a couple > of weeks ago. I have no idea what happened in the end, the flameage > went on and on and I lost interest. > > Can anyone summarize for the benefit of the list? > > -- > -Alfred Perlstein [alfred@freebsd.org] Summary: The patch Terry posted was to loop a few more times in the interrupt handler. I was going to commit it this weekend for the dc driver, but it looks like Luigi's work overshadows that. The idea proposed above is (similar to) LRP, which Terry implemented for clickarray. It is not in his patchset. Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message