public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* Diagnostic Monitoring Interface Monitoring (DOM) PATCH 0/5 for net-next-2.6
@ 2009-11-23 22:45 Robert Olsson
  2009-11-25  8:18 ` Jeff Kirsher
  0 siblings, 1 reply; 7+ messages in thread
From: Robert Olsson @ 2009-11-23 22:45 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, robert


Here are basic support to bring Diagnostic Monitoring Interface Monitoring (DOM)
to Linux this is more or less mandatory when building optical networks.

Optical modules as SFP, SFP+, XFP, GBIC etc holds transceiver and link diagnostic 
data needed to monitor and troubleshoot optical links, Talks to networks cards
via the I2C-bus (DOM lives in memory page 0xA2).

In essential:

Usage example: ethtool -D eth5 

Ext-Calbr: Avr RX-Power: Alarm & Warn: RX_LOS:         Wavelength: 1310 nm
Alarms, warnings in beginning of line, Ie. AH = Alarm High, WL == Warn Low etc
       Temp:  35.9 C                   Thresh: Lo: -12.0/-8.0   Hi: 103.0/110.0 C
       Vcc:  3.33 V                    Thresh: Lo:   3.0/3.0    Hi:   3.7/4.0   V
       Tx-Bias:  13.4 mA               Thresh: Lo:   2.0/4.0    Hi:  70.0/84.0  mA
ALWL   TX-pwr:  -5.9 dBm ( 0.26 mW)    Thresh: Lo:  -4.0/-2.0   Hi:   7.0/8.2   dBm
AHWH   RX-pwr:  -5.0 dBm ( 0.31 mW)    Thresh: Lo: -35.2/-28.0  Hi:  -8.2/-6.0  dBm

Read more in Documentation/networking/dom.txt

It's tested with the igb driver, there is also a patch for the ixgbe driver but I 
haven't any SFP+ with DOM support yet.


There are room for improvements an clean-ups. 

Cheers
						--ro





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-11-26 15:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-23 22:45 Diagnostic Monitoring Interface Monitoring (DOM) PATCH 0/5 for net-next-2.6 Robert Olsson
2009-11-25  8:18 ` Jeff Kirsher
2009-11-25  9:19   ` Jeff Kirsher
2009-11-25 16:22     ` robert
2009-11-25 20:38       ` Joe Perches
2009-11-26 15:11         ` robert
2009-11-25 16:21   ` robert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox