Не поднимается линк на SFP портах Intel X710
Всем привет!
Пытаюсь поднять SFP порты на плате расширения Intel X710.
В SFP порт воткнут " SFP патчкорд" с другой стороны которого свитч TP Link и его SFP порт. Кабель рабочий, между двумя свитчами SFP линк прекрасно поднимается.
А воть между Свитчем и компьютером c платой X710 под управлением Linux, лаже линк не загорается.
Т.е. как устройство оно есть. Модуль загружен. «Кабель» определён. Но вот состояние NO-CARRIER.
Надо как-то принудительно поднять линк? А как?
Вот так Linux всё это видит:
root@router:~# lspci
01:00.0 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02) 01:00.1 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02) 01:00.2 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02) 01:00.3 Ethernet controller: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
root@router:~# dmesg | grep i40 [ 3.492657] i40e: Intel(R) Ethernet Connection XL710 Network Driver [ 3.493108] i40e: Copyright (c) 2013 - 2019 Intel Corporation. [ 3.493551] i40e 0000:01:00.0: enabling device (0000 -> 0002) [ 3.508011] i40e 0000:01:00.0: fw 9.140.76856 api 1.15 nvm 9.40 0x8000ecf8 0.0.0 [8086:1572] [8086:0000] [ 3.840666] i40e 0000:01:00.0: MAC address: 60:be:b4:1d:44:70 [ 3.845390] i40e 0000:01:00.0: PCI-Express: Speed 8.0GT/s Width x4 [ 3.845831] i40e 0000:01:00.0: PCI-Express bandwidth available for this device may be insufficient for optimal performance. [ 3.846601] i40e 0000:01:00.0: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate. [ 3.847866] i40e 0000:01:00.0: Features: PF-id[0] VFs: 32 VSIs: 34 QP: 16 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA [ 3.848645] i40e 0000:01:00.1: enabling device (0000 -> 0002) [ 3.861934] i40e 0000:01:00.1: fw 9.140.76856 api 1.15 nvm 9.40 0x8000ecf8 0.0.0 [8086:1572] [8086:0000] [ 4.194490] i40e 0000:01:00.1: MAC address: 60:be:b4:1d:44:71 [ 4.199108] i40e 0000:01:00.1: PCI-Express: Speed 8.0GT/s Width x4 [ 4.199548] i40e 0000:01:00.1: PCI-Express bandwidth available for this device may be insufficient for optimal performance. [ 4.200319] i40e 0000:01:00.1: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate. [ 4.201589] i40e 0000:01:00.1: Features: PF-id[1] VFs: 32 VSIs: 34 QP: 16 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA [ 4.202360] i40e 0000:01:00.2: enabling device (0000 -> 0002) [ 4.215468] i40e 0000:01:00.2: fw 9.140.76856 api 1.15 nvm 9.40 0x8000ecf8 0.0.0 [8086:1572] [8086:0000] [ 4.547957] i40e 0000:01:00.2: MAC address: 60:be:b4:1d:44:72 [ 4.552342] i40e 0000:01:00.2: PCI-Express: Speed 8.0GT/s Width x4 [ 4.552782] i40e 0000:01:00.2: PCI-Express bandwidth available for this device may be insufficient for optimal performance. [ 4.553552] i40e 0000:01:00.2: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate. [ 4.554751] i40e 0000:01:00.2: Features: PF-id[2] VFs: 32 VSIs: 34 QP: 16 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA [ 4.555518] i40e 0000:01:00.3: enabling device (0000 -> 0002) [ 4.567997] i40e 0000:01:00.3: fw 9.140.76856 api 1.15 nvm 9.40 0x8000ecf8 0.0.0 [8086:1572] [8086:0000] [ 4.900652] i40e 0000:01:00.3: MAC address: 60:be:b4:1d:44:73 [ 4.905036] i40e 0000:01:00.3: PCI-Express: Speed 8.0GT/s Width x4 [ 4.905476] i40e 0000:01:00.3: PCI-Express bandwidth available for this device may be insufficient for optimal performance. [ 4.906246] i40e 0000:01:00.3: Please move the device to a different PCI-e link with more lanes and/or higher transfer rate. [ 4.907446] i40e 0000:01:00.3: Features: PF-id[3] VFs: 32 VSIs: 34 QP: 16 RSS FD_ATR FD_SB NTUPLE VxLAN Geneve PTP VEPA [ 6.594679] i40e 0000:01:00.0 sfp1: renamed from eth0 [ 6.759375] i40e 0000:01:00.1 sfp2: renamed from eth1 [ 6.818991] i40e 0000:01:00.2 sfp3: renamed from eth2 [ 6.898869] i40e 0000:01:00.3 sfp4: renamed from eth3
root@router:~# ethtool -i sfp1
driver: i40e
version: 5.15.167
firmware-version: 9.40 0x8000ecf8 0.0.0
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@router:~# ethtool -i sfp1
driver: i40e
version: 5.15.167
firmware-version: 9.40 0x8000ecf8 0.0.0
expansion-rom-version:
bus-info: 0000:01:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: yes
root@router:~# ethtool sfp1
Settings for sfp1:
Supported ports: [ ]
Supported link modes: 10000baseT/Full
1000baseX/Full
10000baseSR/Full
10000baseLR/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10000baseT/Full
1000baseX/Full
10000baseSR/Full
10000baseLR/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
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@router:~# ethtool --module-info sfp1
Identifier : 0x03 (SFP)
Extended identifier : 0x04 (GBIC/SFP defined by 2-wire interface ID)
Connector : 0x21 (Copper pigtail)
Transceiver codes : 0x01 0x00 0x00 0x00 0x41 0x04 0x80 0xd5 0x00
Transceiver type : Infiniband: 1X Copper Passive
Transceiver type : FC: short distance (S)
Transceiver type : FC: Electrical inter-enclosure (EL)
Transceiver type : Passive Cable
Transceiver type : FC: Twin Axial Pair (TW)
Transceiver type : FC: 1200 MBytes/sec
Transceiver type : FC: 800 MBytes/sec
Transceiver type : FC: 400 MBytes/sec
Transceiver type : FC: 200 MBytes/sec
Transceiver type : FC: 100 MBytes/sec
Encoding : 0x00 (unspecified)
BR, Nominal : 10300MBd
Rate identifier : 0x00 (unspecified)
Length (SMF,km) : 0km
Length (SMF) : 0m
Length (50um) : 0m
Length (62.5um) : 0m
Length (Copper) : 1m
Length (OM3) : 0m
Passive Cu cmplnce. : 0x01 (SFF-8431 appendix E) [SFF-8472 rev10.4 only]
Vendor name : OEM
Vendor OUI : 3c:18:a0
Vendor PN : SFP-10G-CU1M
Vendor rev : A
Option values : 0x00 0x00
BR margin, max : 0%
BR margin, min : 0%
Vendor SN : 2407160036
Date code : 240716
root@router:~# ip link show dev sfp1
8: sfp1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
link/ether 00:d0:b4:02:84:6e brd ff:ff:ff:ff:ff:ff permaddr 60:be:b4:1d:44:70