autoneg not allowed on SFF port XXX running at 10G or greater speed


When I run,

ethtool -s xxxx autoneg on

the command throws error,

Cannot set new settings: Operation not supported
not setting autoneg

here is the log,

2016-12-20T14:26:14.724853+00:00 cumulus switchd[4712]: sync.c:4376 Neighbor Summary : 0 Added, 0 Deleted, 1 Updated, 0 Skipped in 2742 usecs
2016-12-20T14:26:20.917298+00:00 cumulus switchd[4712]: hal_bcm.c:2390 autoneg not allowed on SFF port swp8s3 running at 10G or greater speed
2016-12-20T14:26:20.917809+00:00 cumulus switchd[4712]: ethtool_swp.c:46 do_settings, ifindex 31, cmd 77, err = -95
2016-12-20T14:26:20.918235+00:00 cumulus switchd[4712]: genl_port.c:482 CRIT Port msg set_settings failure: err -95

So this means, autoneg couldnot be set for port having speed more than 10G?

Thanks in advance

3 replies

Userlevel 5
What does the configuration of that port look like in /etc/network/interfaces? You should be able to set that to on. Please see the documentation here:

https://docs.cumulusnetworks.com/display/DOCS/Layer+1+and+Switch+Port+Attributes
Actually the capability to do autoneg depends on a set of factors based on module technology -speed and cable type - not just speed. The number of these variations can cause some challenges in interoperability. We have made some behavioral and config improvements in 3.2 in the autoneg behavior that should improve the likelihood of successful autonegotiation.
Thanks Scott and Mike for your answers.

@Scott:

below is the /etc/network/interfaces entry for that port

auto br0
iface br0
bridge-ports swp8s3
bridge-stp on

@Mike : Ok, I will try it in 3.2.

Thanks,
Nivas

Reply