https://github.com/torvalds/linux
Revision d5e51a10d21761faaf069cac6f1c0311cf332820 authored by Alex Williamson on 13 March 2013, 15:50:29 UTC, committed by Jeff Kirsher on 26 March 2013, 10:07:27 UTC
igb is ineffective at setting a lower total VFs because:

int pci_sriov_set_totalvfs(struct pci_dev *dev, u16 numvfs)
{
        ...
        /* Shouldn't change if VFs already enabled */
        if (dev->sriov->ctrl & PCI_SRIOV_CTRL_VFE)
                return -EBUSY;

Swap init ordering.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Acked-by: Greg Rose <gregory.v.rose@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent d0f63ac
History
Tip revision: d5e51a10d21761faaf069cac6f1c0311cf332820 authored by Alex Williamson on 13 March 2013, 15:50:29 UTC
igb: SR-IOV init reordering
Tip revision: d5e51a1
File Mode Size
Makefile -rw-r--r-- 5.8 KB
builddeb -rw-r--r-- 9.2 KB
buildtar -rw-r--r-- 2.8 KB
mkspec -rwxr-xr-x 3.6 KB

back to top