From owner-freebsd-hackers Wed Nov 20 9:36: 7 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D4D3037B401 for ; Wed, 20 Nov 2002 09:36:05 -0800 (PST) Received: from angelica.unixdaemons.com (angelica.unixdaemons.com [209.148.64.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11A2843E4A for ; Wed, 20 Nov 2002 09:36:05 -0800 (PST) (envelope-from hiten@angelica.unixdaemons.com) Received: from angelica.unixdaemons.com (hiten@localhost.unixdaemons.com [127.0.0.1]) by angelica.unixdaemons.com (8.12.5/8.12.1) with ESMTP id gAKHZx06071588; Wed, 20 Nov 2002 12:35:59 -0500 (EST) X-Authentication-Warning: angelica.unixdaemons.com: Host hiten@localhost.unixdaemons.com [127.0.0.1] claimed to be angelica.unixdaemons.com Received: (from hiten@localhost) by angelica.unixdaemons.com (8.12.5/8.12.1/Submit) id gAKHZwYO071587; Wed, 20 Nov 2002 12:35:58 -0500 (EST) (envelope-from hiten) Date: Wed, 20 Nov 2002 12:35:58 -0500 From: Hiten Pandya To: Terry Lambert Cc: tony@ubik.demon.co.uk, freebsd-hackers@freebsd.org Subject: Re: if_ti DEVICE_POLLING patch (Was: Re: [hackers] Re: Netgraphcouldbe a router also) Message-ID: <20021120123558.A71339@angelica.unixdaemons.com> References: <3DDBBC87.70908@unixdaemons.com> <3DDBC451.B41E7B06@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <3DDBC451.B41E7B06@mindspring.com>; from tlambert2@mindspring.com on Wed, Nov 20, 2002 at 09:20:17AM -0800 X-Operating-System: FreeBSD i386 X-Public-Key: http://www.pittgoth.com/~hiten/pubkey.asc X-URL: http://www.unixdaemons.com/~hiten X-PGP: http://pgp.mit.edu:11371/pks/lookup?search=Hiten+Pandya&op=index Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Nov 20, 2002 at 09:20:17AM -0800, Terry Lambert wrote the words in effect of: > Hiten Pandya wrote: > > Hehe. I was not being sarcastic. I just acknoledged your statement. The > > reason I asked about committing the patch in the first place, is because I > > thought that the patch had been around on the -net@ list, and had been reviewed. > > > > My apologies. > > It's been around on the list for a while, but if it's working for > the people involved, they are not saying anything. > > Last I heard, the person who had the problem had tried the Intel > Gigabit card, but not the Tigon III, but was looking for a Gigabit > card recommendation. > > I suppose I could make the same patch for the Intel card. > > The problem is that DEVICE_POLLING is an all-or-nothing thing, > you can't control it on a card-by-card basis, even with a > sysctl, because it fills out an entry point that's statically, > rather than procedurally initialized. > > Basically, that means that the worst case, you could not turn > it on for cards that are known to work, if the patch fails to > work for the Tigon III. > > If someone with a Tigon III card could try the patch with the > DEVICE_POLLING option enabled, and device polling turned on, > and let us know that the card keeps functioning, rather than > them getting a panic, then that would be enough, I think, to > say "commit it". I think the Device Polling sysctls will need tuning, if I am thinking straightly. No? -- Hiten Pandya (hiten@unixdaemons.com, hiten@uk.FreeBSD.org) http://www.unixdaemons.com/~hiten/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message