diff options
| author | Paweł Jabłoński <[email protected]> | 2018-03-08 14:52:05 -0800 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2018-03-14 12:22:17 -0700 |
| commit | 028daf80117376b22909becd9720daaefdfceff4 (patch) | |
| tree | f762df1af5f4a41543e19afc279460843b554b84 /tools/perf/scripts/python | |
| parent | 20dd9147c96e0dfd628fe42840e8f8d5ccd077c5 (diff) | |
i40e: Fix attach VF to VM issue
Fix for "Resource temporarily unavailable" problem when virsh is
trying to attach a device to VM. When the VF driver is loaded on
host and virsh is trying to attach it to the VM and set a MAC
address, it ends with a race condition between i40e_reset_vf and
i40e_ndo_set_vf_mac functions. The bug is fixed by adding polling
in i40e_ndo_set_vf_mac function For when the VF is in Reset mode.
Signed-off-by: Paweł Jabłoński <[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