Skip to content

feat(ethtool): query SFP module diagnostics from EEPROM #3586

@tdakkota

Description

@tdakkota

Motivation

SFP transceivers expose live diagnostic data through the Digital Diagnostics Monitoring (DDM) interface, accessible today via:

$ sudo ethtool -m enp5s0f1
        ...
	Laser bias current                        : 32.450 mA
	Laser output power                        : 0.4374 mW / -3.59 dBm
	Receiver signal average optical power     : 0.5784 mW / -2.38 dBm
	Module temperature                        : 41.55 degrees C / 106.78 degrees F
	Module voltage                            : 3.3715 V
        ...

It can provide crucial data by identifying failing transceivers and monitoring the thermal health of modules.

Spec links

There are few specifications describing encoding of SFP diagnostics data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions