From owner-freebsd-net@FreeBSD.ORG Thu Jan 13 18:58:09 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 42E05106564A for ; Thu, 13 Jan 2011 18:58:09 +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 7B1888FC0C for ; Thu, 13 Jan 2011 18:58:08 +0000 (UTC) Received: (qmail 65190 invoked from network); 13 Jan 2011 18:58:06 -0000 Received: from bizet.nethelp.no (HELO localhost) (195.1.209.33) by bizet.nethelp.no with SMTP; 13 Jan 2011 18:58:06 -0000 Date: Thu, 13 Jan 2011 19:58:06 +0100 (CET) Message-Id: <20110113.195806.74699536.sthaug@nethelp.no> To: rysto32@gmail.com From: sthaug@nethelp.no In-Reply-To: References: <20110113.151652.104127547.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 18:58:09 -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+. Steinar Haug, Nethelp consulting, sthaug@nethelp.no