From owner-freebsd-net@FreeBSD.ORG Fri Jun 6 16:47:51 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A34E1065670 for ; Fri, 6 Jun 2008 16:47:51 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: from bizet.nethelp.no (bizet.nethelp.no [195.1.209.33]) by mx1.freebsd.org (Postfix) with SMTP id BC2D28FC2A for ; Fri, 6 Jun 2008 16:47:50 +0000 (UTC) (envelope-from sthaug@nethelp.no) Received: (qmail 1137 invoked from network); 6 Jun 2008 16:21:08 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 6 Jun 2008 16:21:08 -0000 Date: Fri, 06 Jun 2008 18:21:08 +0200 (CEST) Message-Id: <20080606.182108.74659907.sthaug@nethelp.no> To: koitsu@FreeBSD.org From: sthaug@nethelp.no In-Reply-To: <20080606090452.GA38593@eos.sc1.parodius.com> References: <2a41acea0805030014x244e1311v945e23266961193d@mail.gmail.com> <4848EC14.8060700@micom.mng.net> <20080606090452.GA38593@eos.sc1.parodius.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org Subject: Re: MFC of em/igb drivers 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: Fri, 06 Jun 2008 16:47:51 -0000 > Have you tried disabling speed and duplex negotiation and explicitly > stating speed and duplex like so? > > ifconfig_em0="... media 1000baseTX mediaopt full-duplex" Disagree with this piece of advice. > Cisco switches have a notorious history of not being "friendly" with > non-Cisco hardware. Forcing duplex on both ends of the link (that means > on both the host side, and the Cisco side!) usually fixes it. I might have said the same myself five years ago. But this is 2008, and we have autoneg as default on all ports (even at 100 Mbps). Our Cisco switch ports (and we have a *lot* of them) work just fine with autoneg. Note that GigE is different from FE here - autoneg is a compulsory part of the GigE standard, while it's not compulsory for FE. The only GigE ports that have needed anything else were some pre-standard GigE ports. Steinar Haug, Nethelp consulting, sthaug@nethelp.no