diff options
| author | Jacob Keller <[email protected]> | 2017-08-22 06:57:49 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-10-02 12:46:35 -0700 |
| commit | d43d60e5eb9504aa6f8f390aa0313cc8e3816b82 (patch) | |
| tree | f4ebe89dc661cf482a6e13f15ce57a1989902fe9 /tools/perf/scripts/python/netdev-times.py | |
| parent | f18d20218a14d11d8fd6ed32e66ad199c8c93280 (diff) | |
i40e: ensure reset occurs when disabling VF
It is possible although rare that we may not reset when
i40e_vc_disable_vf() is called. This can lead to some weird
circumstances with some values not being properly set. Modify
i40e_reset_vf() to return a code indicating whether it reset or not.
Now, i40e_vc_disable_vf() can wait until a reset actually occurs. If it
fails to free up within a reasonable time frame we'll display a warning
message.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions