From owner-freebsd-net@FreeBSD.ORG Thu Jan 13 19:49:57 2011 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 C9661106566B for ; Thu, 13 Jan 2011 19:49:57 +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 0AA938FC14 for ; Thu, 13 Jan 2011 19:49:56 +0000 (UTC) Received: (qmail 83668 invoked from network); 13 Jan 2011 19:49:55 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 13 Jan 2011 19:49:55 -0000 Date: Thu, 13 Jan 2011 20:49:55 +0100 (CET) Message-Id: <20110113.204955.41688285.sthaug@nethelp.no> To: rysto32@gmail.com From: sthaug@nethelp.no In-Reply-To: <20110113.195806.74699536.sthaug@nethelp.no> References: <20110113.151652.104127547.sthaug@nethelp.no> <20110113.195806.74699536.sthaug@nethelp.no> 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 Subject: Re: Intel 10GBase-LR Ethernet card detected as 10GBase-SR 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: Thu, 13 Jan 2011 19:49:57 -0000 > > If it has an SFP+, won't the it be LR or SR depending on the type of > > SFP+ installed? > > The card is *sold* and *advertised* by Intel as a 10GBase-LR card. It > may well be the case that it would also work with a 10GBase-SR SFP+. > I don't have one of these lying around to test, unfortunately. But I > have indeed verified that the SFP+ in the card is a 1310 nm 10GBase-LR > unit (specifically it's a Finisar FTLX1471D3BCV). > > As such, I believe the ixgbe code should either set the card type as > 10GBase-LR (statically), since that's how the card is sold/delivered. > Or it should include code to read the optics type from the SFP+. Thinking about this some more - I see there are also SR variants of the same card: http://ark.intel.com/Product.aspx?id=39773 http://ark.intel.com/Product.aspx?id=39774 In which case reading the optics type from the SFP, or having some kind of config setting, is the only thing that makes sense IMHO. Having a 10GBase-LR card report 10GBase-SR is guaranteed to result in misunderstandings... Steinar Haug, Nethelp consulting, sthaug@nethelp.no