diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2013-03-13 15:50:29 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-03-26 03:07:27 -0700 |
commit | d5e51a10d21761faaf069cac6f1c0311cf332820 (patch) | |
tree | 6c6a5117cd573360372260c5e6187e600186e69d /samples | |
parent | d0f63acc2ff354a525f7bc7ba90e81f49b6c2ef8 (diff) |
igb: SR-IOV init reordering
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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions