diff options
author | 2016-02-10 17:33:46 -0500 | |
---|---|---|
committer | 2016-02-16 15:50:01 -0500 | |
commit | b763499ee16b74707af0fb26ab0a26bd9719870b (patch) | |
tree | bb056c7adca1d54aa8f9e2ba31df126cd6b2829e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bridge: mdb: avoid uninitialized variable warning (diff) | |
download | linux-dev-b763499ee16b74707af0fb26ab0a26bd9719870b.tar.xz linux-dev-b763499ee16b74707af0fb26ab0a26bd9719870b.zip |
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 <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions