diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-10-11 23:36:56 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-16 08:06:38 +0300 |
commit | 74fb5e25a3e925286e80eb2e0253f88f2b44ec96 (patch) | |
tree | 638910c925464a35fd1575734e42479dff9e8479 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 0813e95760f1963c3ca0c47b4bb3583f07147a2e (diff) | |
download | linux-74fb5e25a3e925286e80eb2e0253f88f2b44ec96.tar.xz |
net: phy: improve handling of PHY_RUNNING in state machine
Handling of state PHY_RUNNING seems to be more complex than it needs
to be. If not polling, then we don't have to do anything, we'll
receive an interrupt and go to state PHY_CHANGELINK once the link
goes down. If polling and link is down, we don't have to go the
extra mile over PHY_CHANGELINK and call phy_read_status() again
but can set status PHY_NOLINK directly.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.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