From owner-freebsd-net@FreeBSD.ORG Wed Oct 10 20:49:42 2012 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4C71D593 for ; Wed, 10 Oct 2012 20:49:42 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 1DDAE8FC0A for ; Wed, 10 Oct 2012 20:49:41 +0000 (UTC) Received: from [209.249.190.124] (port=58602 helo=gnnmac.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1TM3Dp-0007OQ-9B for net@freebsd.org; Wed, 10 Oct 2012 16:49:41 -0400 From: George Neville-Neil Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: SFF 8472, aka what optic is plugged into my network card... Message-Id: Date: Wed, 10 Oct 2012 16:49:40 -0400 To: net@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 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, 10 Oct 2012 20:49:42 -0000 Howdy, Modern 10G NICs have the ability to have different types of cables = plugged into them. There is a standard for the values contained in the cables which can be = read here: = http://www.10gtek.com/templates/wzten/pdf/SFF-8472-(Diagnostic%20Monitorin= g%20Interface).pdf It's probably the case that several NIC cards support changeable optics = on FreeBSD at this point. I know that Chelsio T4 cards do. I would like to put proper definitions = from this document into our source code. Does anyone have a preference for where and how = this is done? I figure something like net/sff8472.h would be the way to go. Comments? Best, George