From owner-freebsd-current@FreeBSD.ORG Sun Oct 17 23:28:31 2004 Return-Path: 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 2CF8A16A4CE for ; Sun, 17 Oct 2004 23:28:31 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 051DB43D45 for ; Sun, 17 Oct 2004 23:28:31 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: (qmail 14773 invoked from network); 17 Oct 2004 23:28:30 -0000 Received: from gate.funkthat.com (HELO hydrogen.funkthat.com) ([69.17.45.168]) (envelope-sender ) by mail1.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Oct 2004 23:28:30 -0000 Received: from hydrogen.funkthat.com (bczgzu@localhost.funkthat.com [127.0.0.1])i9HNSTlb011822; Sun, 17 Oct 2004 16:28:29 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.10/8.12.10/Submit) id i9HNSRWU011821; Sun, 17 Oct 2004 16:28:27 -0700 (PDT) Date: Sun, 17 Oct 2004 16:28:27 -0700 From: John-Mark Gurney To: Sean McNeil Message-ID: <20041017232827.GZ22681@funkthat.com> Mail-Followup-To: Sean McNeil , freebsd-current@freebsd.org References: <1097896460.1123.2.camel@server.mcneil.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1097896460.1123.2.camel@server.mcneil.com> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE 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: freebsd-current@freebsd.org Subject: Re: re0 fix that works with polling X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Sun, 17 Oct 2004 23:28:31 -0000 Sean McNeil wrote this message on Fri, Oct 15, 2004 at 20:14 -0700: > The following changes allows me to stream a 15Mbps video content with > re0 and not lose any packets. I had to decrease the timer count so it > checks more often and I modified it so that polling disables all but the > timer interrupt. Attached is a patch to -current. Ok, interesting... now are you sure that adding re_txeof in re_start is better than properly fixing it so that we can make use of the extra tx descriptors that the 8169 supports? Right now it is hardcoded to 64 because that is all that the 8110 supports iirc, but the 8164 supports upto 1024 tx descriptors... I have thought about properly extracting the rings so that we can have different sized tx and rx ring sizes also adjust ring size based upon data rate... Also, do you know of the tx timer changes fire rate dependant upon the speed of the link.. the 8169 data sheet gives no specifics on what the rate of the time is and approrpriate values.. I'll do some tests shortly to see about these issues... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."