我希望使用自动协商并使用 10G 直连铜缆 SFP 通过 Intel X520 NIC 和 Stratix IV FPGA 之间的连接发送以太网暂停帧。Ethtool 告诉我不支持这些功能,当我尝试使用“ethtool -A eth2 autoneg on rx on tx on”设置它们时,没有任何变化。Intel 的网页上说 X520 家族应该支持这些功能。网络驱动为ixgbe 3.9.15-k,默认支持自动协商和流量控制。此外,我认为作为 IEEE 标准,任何 1G/10G 连接都必须支持自动协商。问题是兼容性问题,还是我缺少配置?
ethtool eth2 的输出:
Settings for eth2:
Supported ports: [ FIBRE ]
Supported link modes: 10000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 10000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 10000Mb/s
Duplex: Full
Port: Direct Attach Copper
PHYAD: 0
Transceiver: external
Auto-negotiation: off
Supports Wake-on: d
Wake-on: d
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
dmesg 结尾的输出:
ixgbe 0000:04:00.0: eth2: detected SFP+: 3
ixgbe 0000:04:00.0: eth2: NIC Link is Up 10 Gbps, Flow Control: RX/TX
ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
eth2: no IPv6 routers present