diff options
| author | 2015-08-26 15:14:16 -0400 | |
|---|---|---|
| committer | 2015-10-07 14:08:30 -0700 | |
| commit | 0002e1189b594d462c7a93417f5ac8bbc22bd768 (patch) | |
| tree | 572506715ae324e8d9cd92b9410a03052ac3711d /tools/perf/scripts/python | |
| parent | i40e: Fix for truncated interrupt name (diff) | |
| download | linux-dev-0002e1189b594d462c7a93417f5ac8bbc22bd768.tar.xz linux-dev-0002e1189b594d462c7a93417f5ac8bbc22bd768.zip | |
i40e: Never let speed get set to 0 in get_settings
In ethtool, there is a possibility of speed getting set to 0
if advertise is set to 0 (which it is when autoneg is disabled).
We never want this to happen as the firmware will actually attempt
to set the speed to 0 sending link down, so add an extra check
to make sure this doesn't happen.
Change-ID: I62e0eeee2cbf043d8e6f5c9c9f0b92794e877f01
Signed-off-by: Catherine Sullivan <catherine.sullivan@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
