diff options
author | Tony Nguyen <[email protected]> | 2019-06-26 02:20:17 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2019-07-31 10:23:04 -0700 |
commit | 6d5999467df03d1d7fd64ac761ffa20d00ce9e52 (patch) | |
tree | 02dde5e8494e7b61b31db73287dd08e50bf60fa5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5c91ecfda5a8bfbc4697b35fe875cbc43a0f9100 (diff) |
ice: Do not configure port with no media
The firmware reports an error when trying to configure a port with no
media. Instead of always configuring the port, check for media before
attempting to configure it. In the absence of media, turn off link and
poll for media to become available before re-enabling link.
Move ice_force_phys_link_state() up to avoid forward declaration.
Signed-off-by: Tony Nguyen <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions