Page MenuHomeFreeBSD

sfxge: implement SIOCGI2C to read infromation from phy modules
ClosedPublic

Authored by arybchik on Feb 10 2016, 12:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 29, 12:27 AM
Unknown Object (File)
Nov 16 2024, 3:09 PM
Unknown Object (File)
Nov 5 2024, 7:17 PM
Unknown Object (File)
Oct 19 2024, 1:42 AM
Unknown Object (File)
Oct 14 2024, 9:17 PM
Unknown Object (File)
Oct 5 2024, 12:49 PM
Unknown Object (File)
Oct 5 2024, 8:12 AM
Unknown Object (File)
Oct 4 2024, 11:01 PM
Subscribers

Details

Summary

The IOCTL is used by 'ifconfig -v' to show SFP+/QSFP+ information
including inventory information and dianostics (temperature, light
levels, voltage etc).

Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days

Test Plan

Build tested. Driver loaded/unloaded.
ifconfig -v check on 5xxx/6xxx with SFP+ tranceiver and 7xxx NICs with
SFP+ and QSFP+.

sfxge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500

options=ec07ab<RXCSUM,TXCSUM,VLAN_MTU,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWTSO,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
ether 00:0f:53:21:17:20
inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255 
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
media: Ethernet autoselect (10Gbase-SR <full-duplex,rxpause,txpause>)
status: active
plugged: SFP/SFP+/SFP28 10G Base-SR (LC)
vendor: Intel Corp PN: AFBR-703SDZ-IN2 SN: AD1148A02NS DATE: 2011-12-14
module temperature: 54.60 C Voltage: 3.31 Volts
RX: 0.20 mW (-6.98 dBm) TX: 0.55 mW (-2.55 dBm)

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arybchik retitled this revision from to sfxge: implement SIOCGI2C to read infromation from phy modules.
arybchik updated this object.
arybchik edited the test plan for this revision. (Show Details)
arybchik added reviewers: gnn, philip, np, bz, melifaro.
gnn edited edge metadata.
This revision is now accepted and ready to land.Feb 10 2016, 12:08 PM
melifaro edited edge metadata.

Great news, thanks for implementing that!

This revision was automatically updated to reflect the committed changes.