Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 20:40:07 -0500
From:      George Neville-Neil <gnn@neville-neil.com>
To:        FreeBSD Net <freebsd-net@freebsd.org>
Subject:   If you work on a driver that supports pluggable optics or cables...
Message-ID:  <C20DC031-9956-4197-8272-331377441127@neville-neil.com>

next in thread | raw e-mail | index | archive | help

Howdy,

I just added sff8472.h to sys/net which allows driver writers to get information on SFF/SFP+ optics and
cables across i2c more easily.  Navdeep (np@) has added the relevant code to tools/tools/cxgbetool
to show how to use these values to get information from cables plugged into NICs.  Can those
of you who work on the various drivers that have an I2C interface to the cabling please look at that
include file and the cxgbetool program and start adding your own code to handle this in a similar way?
It’s a great help to those working with hardware in large data centers when they can see things like this:

trantor:~# cxgbetool t5nex0 modinfo 1
 ID: SFP
 Vendor FINISAR CORP.
 SN AJ10JQR
 PN FTLX8571D3BCL
 Rev A
 Temp: +35C
 Vcc 3.225600V
 TX Bias 2.176000uA
 TX Power 0.588800mW
 RX Power 0.486400mW

Best,
George





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C20DC031-9956-4197-8272-331377441127>