summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHarshitha Ramamurthy <harshitha.ramamurthy@intel.com>2016-12-13 02:44:16 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-02-19 07:35:36 +0300
commitae13670824d5adadc95a881ebfaa6fa8735218f0 (patch)
tree1d3beaa33cd2e2bcaf4b710e01513e606cd72a3b /tools/perf/scripts/python
parent5cb259016b4258d7ac53588a01d17da1ceda84b7 (diff)
downloadlinux-ae13670824d5adadc95a881ebfaa6fa8735218f0.tar.xz
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')
0 files changed, 0 insertions, 0 deletions