diff options
| author | Sudheer Mogilappagari <[email protected]> | 2017-07-14 09:10:15 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-09-29 12:50:59 -0700 |
| commit | 16badf758b25bd00528246ab9af938296b9d368d (patch) | |
| tree | 9591a7714f7ce1fb8b96d957862e50018d1b27fd /tools/perf/scripts/python | |
| parent | 2b634bb0686e43a6338fe779fbabd72b6b928fdc (diff) | |
i40e: Fix unqualified module message while bringing link up
In current driver, when ifconfig ethx up is done, the link state
doesn't transition to UP inside i40e_open(). It changes after AQ
command response is handled in i40e_handle_link_event().
When pf->hw.phy.link_info.link_info is DOWN inside i40e_open(),
The state is transient and invalid. So log message gets printed
based on incorrect info (i.e link_info and an_info).
This commit removes check for unqualified module inside
i40e_up_complete(). The existing check in i40e_handle_link_event()
logs the error message based on correct link state information.
Signed-off-by: Sudheer Mogilappagari <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions