From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 17:00:04 2003 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 950C037B401; Wed, 2 Jul 2003 17:00:04 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id B033043FB1; Wed, 2 Jul 2003 17:00:03 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from orac.my.domain ([192.168.200.75] helo=orac) by dmlb.org with smtp (Exim 3.36 #1) id 19XrW6-00071U-00; Thu, 03 Jul 2003 01:00:02 +0100 Message-ID: <000b01c340f6$116f38a0$4bc8a8c0@orac> From: "Duncan Barclay" To: , Date: Thu, 3 Jul 2003 01:00:09 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Beta BroadCom 4401 driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 00:00:04 -0000 Hello all that are interested Please try this version of the driver. http://people.freebsd.org/~dmlb/bcm-0307030043.tar.gz Improvements: - All TX buffers used, and most RX buffers used. I'd like people to play with changing BCM_RX_LIST_CNT near to top of if_bcmreg.h. Maximum is 511 or maybe 512 depending whether I've got all the off by one errors out... - RX now DMAs directly into mbufs (faster and a lot more robust) - LOR on unload gone - Doesn't hang the machine with ftp of large files (I hope) Outstanding: - The device stats aren't read - I don't know what to add into some of the timer and media routines, if anyone can suggest what's needed then I would be grateful. - CRC offloading - RX packet coallesing For those that can, I would really appreciate some feedback from stress tests on 100Mb/s networks. Up until now I've only tested on 10MB/s ether to a Libretto with a Pentium 75. I can happily max out this link. I'm going to re-do the header file and dependent code so it doesn't use a verbatim extracts of the Linux driver and then commit it. All the best Duncan ----- Original Message ----- From: "Duncan Barclay" To: ; Sent: Sunday, June 29, 2003 7:54 PM Subject: Very alpha BroadCom 4401 driver > Hello all > > For those of you who have a Broadcom 4401 10/100 Ethernet (not gigabit) can > you please try the driver at > http://people.freebsd.org/~dmlb/bcm-0306291936.tar.gz. Untar it, and you > should have sys/dev/bcm/* and > sys/modules/bcm/Makefile. Put these into /sys then > cd /sys/modules/bcm > make > make test > then use the interface. > > If you encounter wierdness, please reboot with -v, and reload the module and > recreate the wierdness. Then send me the dmesg output. > > The driver is sub-optimal: > - only a small % of the TX and RX buffers are used. This can be changed > in if_bcmreg.h. > - RX DMAs into fixed buffers and then these are copied to mbufs. > - the device stats aren't read > - I don't know what to add into some of the timer and media routines, if > anyone can suggest what's > needed then I would be grateful. > - LOR on unload. > > I will be trying to fix these over the next couple of days. > > I will be on holiday 5th July to 13th July, so please forgive any delay in > replying to problems. > > Enjoy > > Duncan >