Skip to contentSkip to conversation

Please apply commit 028daf801173 to v4.14.y

DISCUSSION Applied Sinan Kaya 2 participants 3 messages Apr 25, 2018 – Apr 26, 2018 Stable branch

lore
Share & tools
lore

Sinan Kaya

author
#0 lore raw

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.
author
#1 lore raw

+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_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.
Applied
#2 lore raw
In reply to Sinan Kaya
Quoted 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_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.

Applied to both 4.14.y and 4.16.y.

thanks,

greg k-h