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