From owner-freebsd-net@FreeBSD.ORG Wed Jul 11 07:25:23 2007 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8C21A16A400 for ; Wed, 11 Jul 2007 07:25:23 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: from smtp808.mail.ird.yahoo.com (smtp808.mail.ird.yahoo.com [217.146.188.68]) by mx1.freebsd.org (Postfix) with SMTP id 0807813C45A for ; Wed, 11 Jul 2007 07:25:22 +0000 (UTC) (envelope-from tom@tomjudge.com) Received: (qmail 57733 invoked from network); 11 Jul 2007 07:25:21 -0000 Received: from unknown (HELO ?192.168.1.2?) (thomasjudge@btinternet.com@86.139.149.183 with plain) by smtp808.mail.ird.yahoo.com with SMTP; 11 Jul 2007 07:25:21 -0000 X-YMail-OSG: qeioWj4VM1nGggukR6JE8d8beQx_5c.l8vj2FxgnuUCCuAjw0lxAOgXIbIUgrnu1deUQuUOSW.gL9.bapLpdHGw- Message-ID: <4694940D.9050408@tomjudge.com> Date: Wed, 11 Jul 2007 09:25:49 +0100 From: Tom Judge User-Agent: Thunderbird 1.5.0.12 (X11/20070604) MIME-Version: 1.0 To: Paul Schmehl References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Net Subject: Re: Question about bce driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2007 07:25:23 -0000 Paul Schmehl wrote: > I'm running 6.1 RELEASE (i386) and I've been replacing the if_bce.c file > with a slightly newer one that at least got the driver working without > hard lockups that required a reboot to fix. (Rather problematic on a > remotely located web server.) > > If I download the latest driver from cvs (1.33), should I also replace > the if_bcefw.h and if_bcereg.h files with the newer versions? Will the > NIC work without creating new problems? Right now I get an occasional > "flapping" of the NIC link state (down, up , down, up, etc.) but it at > least works most of the time. I don't want to buildworld and get > suprised by a non-functioning NIC. :-) > > If I use the newer versions, will I also need to use some other newer > files that are called by them? Or would it be better to upgrade the > entire box to 6.2? > > FreeBSD www.stovebolt.com 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #2: > > grep bce /var/run/dmesg.boot > bce0: mem > 0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci9 > bce0: ASIC ID 0x57081010; Revision (B1); PCI-X 64-bit 133MHz > miibus0: on bce0 > bce0: Ethernet address: 00:13:72:fb:2a:ad > bce1: mem > 0xf8000000-0xf9ffffff irq 16 at device 0.0 on pci5 > bce1: ASIC ID 0x57081010; Revision (B1); PCI-X 64-bit 133MHz > miibus1: on bce1 > bce1: Ethernet address: 00:13:72:fb:2a:ab > Hi Paul, From the testing that I have been doing for the last few months the driver in 6.2 is stable if you are not using jumbo frames and there is a light-moderate network load. However if you want to use Jumbo frames the driver is very unstable. I posted a patch against 6.2 which should fix some load based issues in the driver with standard frame sizes. Tom