我有一个10G光纤nics的Linux服务器:
xyz@xyz48:~$ sudo ethtool p1p1 Settings for p1p1: 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: no
对于一个实验,我想把这里的最大速度设置为1Gb。
在网上search,我发现这个命令应该做的工作:
sudo ethtool -s p1p1 advertise 0x020 speed 1000
但是当我运行它时,我得到以下错误:
Cannot set new settings: Invalid argument not setting advertise not setting speed
我错过了什么? 或者是我的情况,我将需要改变驱动程序?
服务器详细信息:基于Intel Xeon的服务器
NIC:英特尔公司82599ES万兆SFI / SFP +networking连接
使用10G SFP +电缆(Arista cab-sfp-sfp-1m)
OS Ubuntu服务器13.10