Please apply commit 028daf801173 to v4.14.y
Hi Greg,
Upstream commit 028daf801173 ("i40e: Fix attach VF to VM issue") fixes a virtualization issue for i40e based adapters.
problem description below from the commit:
'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.'
Please apply commit 028daf801173 to fix the resulting regression.
Thanks,
Sinan
Signature · 3 lines
Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
+cc Pavel,
Quoted 19 lines · Sinan Kaya
Hi Greg,
Upstream commit
028daf801173("i40e: Fix attach VF to VM issue") fixes a virtualization issue for i40e based adapters.problem description below from the commit:
'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_vfandi40e_ndo_set_vf_macfunctions. The bug is fixed by adding polling ini40e_ndo_set_vf_macfunction For when the VF is in Reset mode.'Please apply commit
028daf801173to fix the resulting regression.Thanks,
Sinan
Signature · 3 lines
Sinan Kaya Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
Greg KH
AppliedQuoted 7 lines · Sinan Kaya
Hi Greg,
Upstream commit
028daf801173("i40e: Fix attach VF to VM issue") fixes a virtualization issue for i40e based adapters.problem description below from the commit:
Quoted 8 lines
'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_vfandi40e_ndo_set_vf_macfunctions. The bug is fixed by adding polling ini40e_ndo_set_vf_macfunction For when the VF is in Reset mode.'Please apply commit
028daf801173to fix the resulting regression.
Applied to both 4.14.y and 4.16.y.
thanks,
greg k-h