diff options
author | Paweł Jabłoński <pawel.jablonski@intel.com> | 2018-03-08 14:52:05 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2018-03-14 12:22:17 -0700 |
commit | 028daf80117376b22909becd9720daaefdfceff4 (patch) | |
tree | f762df1af5f4a41543e19afc279460843b554b84 /tools/perf/scripts/python/call-graph-from-sql.py | |
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 <pawel.jablonski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions