summaryrefslogtreecommitdiff
path: root/ethtool.8.in
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-02-17 18:51:15 +0000
committerBen Hutchings <bhutchings@solarflare.com>2011-02-18 20:05:56 +0000
commit1f4ae804e6bef1fa84193a51c61109aa420257c8 (patch)
treed9168caf97f4a5ca7747bce0a987e5c160d2c007 /ethtool.8.in
parentb031cf012b66d16211cb6fb22f609dd4fbb317e0 (diff)
downloadethtool-1f4ae804e6bef1fa84193a51c61109aa420257c8.tar.gz
ethtool: Don't silently ignore speed/duplex when autoneg is on
When autonegotiation is enabled, drivers must determine link speed and duplex through the autonegotiation process and will generally ignore the speed and duplex specified in struct ethtool_cmd. Currently, if the user specifies autoneg on but does not specify the advertising mask then: - If the user specifies a recognised combination of speed and duplex, we set the advertising mask to the flag for that mode. (Currently only one mode is recognised per combination of speed and duplex.) - Otherwise, we advertise all recognised and supported modes. But we should also set the advertising mask if autoneg is *already* on. Also, we should be able to limit the advertised modes separately by speed and duplex. For now, we just warn if we fail to do that. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool.8.in')
0 files changed, 0 insertions, 0 deletions