Skip to content

i40e disables Rx/Tx due to unsupported SFP EPON ONU module (no fallback to 1G) #20

@missing233

Description

@missing233

Hi,

I'm using an X710-TM4 NIC with the i40e driver (FW 9.154, NVM 9.54). When inserting a 1000BASE-PX SFP ONU module, the module is detected correctly via ethtool -m, but link never comes up.

After attempting to set the speed to 1000Mbps (e.g., ethtool -s ethX speed 1000 duplex full autoneg off), the following error appears in dmesg:
Rx/Tx is disabled on this device because an unsupported SFP module type was detected.
This module operates properly on other NICs without compatibility problems. Therefore, the hardware and optical parameters should not be the issue.
No PHY errors are reported, and EEPROM reads fine. From my understanding, the module uses 1000BASE-PX, which should be within capability of the hardware but the driver seems to block the link due to transceiver type check, possibly because 1000BASE-PX is not explicitly listed in the PHY type enum.
Would it be possible to allow 1000BASE-PX modules to link at 1Gbps?

05:00.0 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)
05:00.1 Ethernet controller [0200]: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ [8086:1572] (rev 02)

[ 7284.415316] i40e 0000:05:00.0: Rx/Tx is disabled on this device because an unsupported SFP module type was detected.
[ 7284.415321] i40e 0000:05:00.0: Refer to the Intel(R) Ethernet Adapters and Devices User Guide for a list of supported modules.

root@pve:~# ethtool -m enp5s0f0np0
        Identifier                                : 0x03 (SFP)
        Extended identifier                       : 0x04 (GBIC/SFP defined by 2-wire interface ID)
        Connector                                 : 0x01 (SC)
        Transceiver codes                         : 0x00 0x00 0x00 0x80 0x00 0x00 0x00 0x00 0x00
        Transceiver type                          : Ethernet: BASE-PX
        Encoding                                  : 0x01 (8B/10B)
        BR, Nominal                               : 1300MBd
        Rate identifier                           : 0x00 (unspecified)
        Length (SMF,km)                           : 10km
        Length (SMF)                              : 10000m
        Length (50um)                             : 0m
        Length (62.5um)                           : 0m
        Length (Copper)                           : 0m
        Length (OM3)                              : 0m
        Laser wavelength                          : 1310nm
        Vendor name                               : NTT
        Vendor OUI                                : 00:00:00
        Vendor PN                                 : 0000000000000000
        Vendor rev                                : 0000
        Option values                             : 0x02 0x00
        Option                                    : Power level 2 requirement
        BR margin, max                            : 0%
        BR margin, min                            : 0%
        Vendor SN                                 : 0000000000000000
        Date code                                 : 150519


root@pve:~# ethtool enp5s0f0np0
Settings for enp5s0f0np0:
        Supported ports: [  ]
        Supported link modes:   Not reported
        Supported pause frame use: Symmetric Receive-only
        Supports auto-negotiation: No
        Supported FEC modes: Not reported
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Advertised FEC modes: Not reported
        Speed: Unknown!
        Duplex: Unknown! (255)
        Auto-negotiation: off
        Port: Other
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: g
        Wake-on: g
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: no
root@pve:~# ethtool -s enp5s0f0np0 speed 1000 duplex full autoneg off
netlink error: link settings update failed
netlink error: Operation not supported

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