diff options
author | 2018-03-08 14:52:05 -0800 | |
---|---|---|
committer | 2018-03-14 12:22:17 -0700 | |
commit | 028daf80117376b22909becd9720daaefdfceff4 (patch) | |
tree | f762df1af5f4a41543e19afc279460843b554b84 /drivers/net/ethernet/intel/i40e/i40e_main.c | |
parent | i40evf/i40evf_main: Fix variable assignment in i40evf_parse_cls_flower (diff) | |
download | linux-dev-028daf80117376b22909becd9720daaefdfceff4.tar.xz linux-dev-028daf80117376b22909becd9720daaefdfceff4.zip |
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 '')
0 files changed, 0 insertions, 0 deletions