Page MenuHomeFreeBSD

ifconfig(8): Display extended compliance code for SFP transceivers
ClosedPublic

Authored by erj on Nov 28 2017, 6:38 PM.
Tags
None
Referenced Files
F175035862: D13286.id.diff
Wed, Oct 7, 7:31 PM
F175035861: D13286.id36249.diff
Wed, Oct 7, 7:31 PM
F175035789: D13286.diff
Wed, Oct 7, 7:30 PM
F175035765: D13286.id35931.diff
Wed, Oct 7, 7:30 PM
Unknown Object (File)
Mon, Sep 28, 7:38 AM
Unknown Object (File)
Mon, Sep 28, 7:08 AM
Unknown Object (File)
Mon, Sep 28, 6:51 AM
Unknown Object (File)
Mon, Sep 28, 3:40 AM
Subscribers

Details

Summary

This change does two things:

  • Update tables in net/sff8472.h and ifconfig's sfp.c with new entries in newer spec revisions of SFF-8472, SFF-8024, and SFF-8636
  • Change get_sfp_transceiver_class() in ifconfig to read and display the extended compliance code if it exists. This was being done for QSFP transceivers in the function for QSFP transceivers, but not for SFP transceivers -- but SFP28 transceivers use this code to display 25G Ethernet capabilities.
Test Plan

Use ifconfig -v with an SFP/SFP+/SFP28 transceiver with a non-zero extended compliance code, and check that that the extended compliance code is displayed instead of a 10G/1G compliance code.

Diff Detail

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