From owner-freebsd-current@FreeBSD.ORG Mon Jul 10 03:08:01 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72AB316A4DE; Mon, 10 Jul 2006 03:08:01 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0196643D46; Mon, 10 Jul 2006 03:08:00 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (cqec77x52eu2sfyt@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id k6A37uYJ025671; Sun, 9 Jul 2006 20:07:56 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id k6A37u2L025670; Sun, 9 Jul 2006 20:07:56 -0700 (PDT) (envelope-from jmg) Date: Sun, 9 Jul 2006 20:07:55 -0700 From: John-Mark Gurney To: Pyun YongHyeon Message-ID: <20060710030755.GN734@funkthat.com> Mail-Followup-To: Pyun YongHyeon , Matthew Jacob , csaba-ml@creo.hu, Bill Paul , freebsd-current@freebsd.org, Christian Brueffer References: <20060706124258.GE76865@cdnetworks.co.kr> <20060707045344.177AF16A4DD@hub.freebsd.org> <20060707074957.GF82406@cdnetworks.co.kr> <20060707094302.GA1669@haakonia.hitnet.RWTH-Aachen.DE> <7579f7fb0607082124p114dfd67r68a5f4db45eff5c2@mail.gmail.com> <20060710022737.GB1128@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060710022737.GB1128@cdnetworks.co.kr> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: csaba-ml@creo.hu, Matthew Jacob , freebsd-current@freebsd.org, Christian Brueffer , Bill Paul Subject: Re: Call for stge(4) testers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2006 03:08:01 -0000 Pyun YongHyeon wrote this message on Mon, Jul 10, 2006 at 11:27 +0900: > On Sat, Jul 08, 2006 at 09:24:23PM -0700, Matthew Jacob wrote: > > Jason THorpe did one for NetBSD. > > > > I did one for Solaris. Nice chip. Too bad it wasn't more popular. > > I'm satisfied with the performance and easy interface for the chip. > But the lack of Tx interrupt moderation and extra accesses to a > status register to check which kind of Tx errors were occurred are > serious fault. Since the the error condition uses the same status > bit in interrupt status register it's hard to distingush failures > from sucess without extra register accesses. bah, tx interrupts are so last century... there isn't any reason to have them... just schedule a timeout or wakeup a thread when the number of tx descriptors are low.. and if you ran out, you could even do the minimal work to free them up right in place... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."