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, Apr 12, 1:18 PM
Unknown Object (File)
Feb 1 2024, 8:23 AM
Unknown Object (File)
Jan 13 2024, 12:00 AM
Unknown Object (File)
Dec 30 2023, 3:34 PM
Unknown Object (File)
Dec 8 2023, 2:59 AM
Unknown Object (File)
Nov 4 2023, 9:16 PM
Unknown Object (File)
Oct 18 2023, 7:45 AM
Unknown Object (File)
Oct 11 2023, 9:19 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 2449
Build 2466: arc lint + arc unit

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.