Re: [libvirt] [PATCH] netdev: assure that SRIOV PF is online before modifying VF params

2015-05-15 Thread Laine Stump
On 05/15/2015 11:13 AM, Laine Stump wrote: > On 05/15/2015 05:35 AM, Michal Privoznik wrote: >> On 14.05.2015 21:38, Laine Stump wrote: >>> The kernel won't complain if you set the mac address and vlan tag for >>> an SRIOV VF via its PF, and it will even let you assign the PF to a >>> guest using P

Re: [libvirt] [PATCH] netdev: assure that SRIOV PF is online before modifying VF params

2015-05-15 Thread Michal Privoznik
On 15.05.2015 17:13, Laine Stump wrote: > On 05/15/2015 05:35 AM, Michal Privoznik wrote: >> On 14.05.2015 21:38, Laine Stump wrote: >>> The kernel won't complain if you set the mac address and vlan tag for >>> an SRIOV VF via its PF, and it will even let you assign the PF to a >>> guest using PCI

Re: [libvirt] [PATCH] netdev: assure that SRIOV PF is online before modifying VF params

2015-05-15 Thread Laine Stump
On 05/15/2015 05:35 AM, Michal Privoznik wrote: > On 14.05.2015 21:38, Laine Stump wrote: >> The kernel won't complain if you set the mac address and vlan tag for >> an SRIOV VF via its PF, and it will even let you assign the PF to a >> guest using PCI device assignment or macvtap passthrough. But

Re: [libvirt] [PATCH] netdev: assure that SRIOV PF is online before modifying VF params

2015-05-15 Thread Michal Privoznik
On 14.05.2015 21:38, Laine Stump wrote: > The kernel won't complain if you set the mac address and vlan tag for > an SRIOV VF via its PF, and it will even let you assign the PF to a > guest using PCI device assignment or macvtap passthrough. But if the > PF isn't online, the device won't be usable

[libvirt] [PATCH] netdev: assure that SRIOV PF is online before modifying VF params

2015-05-14 Thread Laine Stump
The kernel won't complain if you set the mac address and vlan tag for an SRIOV VF via its PF, and it will even let you assign the PF to a guest using PCI device assignment or macvtap passthrough. But if the PF isn't online, the device won't be usable in the guest. This patch makes sure that it is t