diff options
author | 2016-12-12 15:44:16 -0800 | |
---|---|---|
committer | 2017-02-18 20:35:36 -0800 | |
commit | ae13670824d5adadc95a881ebfaa6fa8735218f0 (patch) | |
tree | 1d3beaa33cd2e2bcaf4b710e01513e606cd72a3b /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | i40e: properly convert le16 value to CPU format (diff) | |
download | linux-dev-ae13670824d5adadc95a881ebfaa6fa8735218f0.tar.xz linux-dev-ae13670824d5adadc95a881ebfaa6fa8735218f0.zip |
i40e: Error handling for link event
There exists an intermittent bug which causes the 'Link Detected'
field reported by the 'ethtool <iface>' command to be 'Yes' when
in fact, there is no link. This patch fixes the problem by
enabling temporary link polling when i40e_get_link_status returns
an error. This causes the driver to remember that an admin queue
command failed and polls, until the function returns with a success.
Change-Id: I64c69b008db4017b8729f3fc27b8f65c8fe2eaa0
Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions