diff options
| author | Jacob Keller <jacob.e.keller@intel.com> | 2017-08-22 13:57:49 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-10-02 22:46:35 +0300 |
| commit | d43d60e5eb9504aa6f8f390aa0313cc8e3816b82 (patch) | |
| tree | f4ebe89dc661cf482a6e13f15ce57a1989902fe9 /include | |
| parent | f18d20218a14d11d8fd6ed32e66ad199c8c93280 (diff) | |
| download | linux-d43d60e5eb9504aa6f8f390aa0313cc8e3816b82.tar.xz | |
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 <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
