Cannot set 1G speed on 10G nic using ethtool

2

I have a linux server with 10G fibre nics:

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

For an experiment, I want to set the maximu speed here to 1 Gb.

On searching online I found that this command should do the job:

sudo ethtool -s p1p1 advertise 0x020 speed 1000

But when I run it I get the following error:

Cannot set new settings: Invalid argument
  not setting advertise
  not setting speed

Anything I am missing? Or is it that form my case I will need to change the driver?

Server details: Intel Xeon based Server

NIC: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection

Using a 10G SFP+ cable (Arista cab-sfp-sfp-1m)

OS Ubuntu Server 13.10

performance
nic
ethtool
asked on Server Fault Nov 7, 2014 by Akshya11235 • edited Nov 7, 2014 by Akshya11235

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0