Page MenuHomeVyOS Platform

Unable to view transceiver information for Intel X710 interface
Open, WishlistPublicBUG

Description

Looking up transceiver info fails with an X710 network adapter.

vyos@vyos:~$ show interfaces ethernet eth8 transceiver 
netlink error: Invalid argument

Same error in ethtool:

vyos@vyos:~$ ethtool -m eth8
netlink error: Invalid argument

Relevant dmesg log entry:

[167704.600449] i40e 0000:0d:00.0 eth8: Module EEPROM memory read not supported. Please update the NVM image.

Relevant lspci output:

0d:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
0d:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
0d:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
0d:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)

Details of the adapter show it supports read of EEPROM:

vyos@vyos:~$ ethtool -i eth8
driver: i40e
version: 6.6.21-amd64-vyos
firmware-version: 5.05 0x800028ac 0.0.0
expansion-rom-version: 
bus-info: 0000:0d:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes

FreeBSD can read the SFP details:

# ifconfig -v ixl1
ixl1: flags=1008802<BROADCAST,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        options=4e507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
        ether 00:03:2d:45:0e:85
        media: Ethernet autoselect (10Gbase-LR <full-duplex>)
        status: active
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        plugged: SFP/SFP+/SFP28 10G Base-LR (LC)
        vendor: Intel Corp PN: WGSTP317DSL10DIN SN: WX6290915607 DATE: 2018-09-25
        module temperature: 40.30 C voltage: 3.39 Volts
        lane 1: RX power: 0.79 mW (-1.01 dBm) TX bias: 26.48 mA

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4.0-epa2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

According to https://community.intel.com/t5/Ethernet-Products/XXV710-V2-NIC-doesn-t-support-quot-ethtool-m-quot-Is-this-a-bug/m-p/730841 you need to:

  1. Update the firmware of your NIC (aka the "NVM").
  1. Do you use the in-tree or out-of-tree NIC driver?
  1. Is your Intel NIC an original one or an OEM one (like Supermicro, FS.com or similar using an Intel chip)?

Thanks Apachez, I’ve seen that. Unfortunately the NIC is OEM (part of a networking appliance) so no firmware available.

I’m fairly sure I was able to use ethtool previously on this device (likely CentOS 6, or Rocky 8).

There’s a RedHat article mentioning this becoming an issue after updating to ethtool 5.13, but as I’m not a RedHat customer, I can’t view the details. https://access.redhat.com/solutions/7010430

If FreeBSD can read the EEPROM, doesn’t that suggest a bug in ethtool, or the Linux driver?

Current driver is the one bundled with VyOS.

Viacheslav triaged this task as Wishlist priority.Mon, Apr 22, 9:06 AM