diff options
author | Michael Chan <[email protected]> | 2016-02-10 17:33:46 -0500 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-02-16 15:50:01 -0500 |
commit | b763499ee16b74707af0fb26ab0a26bd9719870b (patch) | |
tree | bb056c7adca1d54aa8f9e2ba31df126cd6b2829e /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | 56bb7fd994f4cc163de08006bf68d959027a9f36 (diff) |
bnxt_en: Fix ethtool autoneg logic.
1. Determine autoneg on|off setting from link_info->autoneg. Using the
firmware returned setting can be misleading if autoneg is changed and
there hasn't been a phy update from the firmware.
2. If autoneg is disabled, link_info->autoneg should be set to 0 to
indicate both speed and flow control autoneg are disabled.
3. To enable autoneg flow control, speed autoneg must be enabled.
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions