From owner-freebsd-net@FreeBSD.ORG Thu Jan 13 19:55:25 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 B427A1065674 for ; Thu, 13 Jan 2011 19:55:25 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8978FC14 for ; Thu, 13 Jan 2011 19:55:25 +0000 (UTC) Received: by gyf3 with SMTP id 3so854418gyf.13 for ; Thu, 13 Jan 2011 11:55:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=7gslrYWHrBPbOX8gHuP/jkuZbS8KR/geK0Y23gmwiAk=; b=R8oTmXJSzTnDxG8fnDZq3jePc9A+RWQGPmUt/hL60cKzN8RIep52bkrG4wkyTwyPn2 vZReg0ibHgl2/33CmSTyynV/81vHAY9BsgbbP7kpPNSBOHPJCt2d1PovRxBPdYK268Gr x63c84CtPOg0kC8+H6FcAEaBWvVucwE52b6Hk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=P2gcGzaEBTN9drMdrLPxpXjzdBpBtwFD9W0Zcp0jp16WmYrv5msKnqNd32BsXdw3I+ tWqIFA7zqI+8QJF1CGqqdtdG/7OgH8FyjsRn/LHJfGcPYyElJ/Gp08kd3KoGlVEshCce PsegpScTuy0J12b72JcMc+nM9hT5exKhKAhqU= MIME-Version: 1.0 Received: by 10.147.167.12 with SMTP id u12mr4187692yao.13.1294948524569; Thu, 13 Jan 2011 11:55:24 -0800 (PST) Received: by 10.147.182.20 with HTTP; Thu, 13 Jan 2011 11:55:24 -0800 (PST) In-Reply-To: <20110113.204955.41688285.sthaug@nethelp.no> References: <20110113.151652.104127547.sthaug@nethelp.no> <20110113.195806.74699536.sthaug@nethelp.no> <20110113.204955.41688285.sthaug@nethelp.no> Date: Thu, 13 Jan 2011 11:55:24 -0800 Message-ID: From: Jack Vogel To: sthaug@nethelp.no Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-net@freebsd.org, rysto32@gmail.com 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:55:25 -0000 The problem is that there is no mechanism right now to report on the fly which optics the adapter actually has. So for the ones that can differ I had just chosen the most likely value. If it REALLY bothers you you can change your local code :) When I get some higher priority issues off my plate I can look again at doing something dynamic. Jack On Thu, Jan 13, 2011 at 11:49 AM, wrote: > > > 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 > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >