diff options
| author | Piotr Kwapulinski <[email protected]> | 2019-07-23 06:01:41 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2019-08-22 13:24:14 -0700 |
| commit | a39f165db5c4f00becb3e50d65ea2321df64cdf3 (patch) | |
| tree | 5e4de637a1bc592a9199e7bb03ff5c3a05b040af /tools/perf/scripts/python/bin/export-to-sqlite-report | |
| parent | 541d97310ae3c02675578a236674e0bea1ad6483 (diff) | |
i40e: allow reset in recovery mode
Driver waits after issuing a reset. When a reset takes too long a driver
gives up. Implemented by invoking PF reset in a loop. After defined
number of unsuccessful PF reset trials it returns error.
Without this patch PF reset fails when NIC is in recovery mode.
So make i40e_set_mac_type() public. i40e driver requires i40e_set_mac_type()
to be public. It is required for recovery mode handling. Without this patch
recovery mode could not be detected in i40e_probe().
Signed-off-by: Piotr Kwapulinski <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-sqlite-report')
0 files changed, 0 insertions, 0 deletions