diff options
| author | Alex Williamson <[email protected]> | 2013-03-13 15:50:29 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2013-03-26 10:07:27 +0000 |
| commit | d5e51a10d21761faaf069cac6f1c0311cf332820 (patch) | |
| tree | 6c6a5117cd573360372260c5e6187e600186e69d /net/unix/af_unix.c | |
| parent | igb: Fix null pointer dereference (diff) | |
| download | kernel-d5e51a10d21761faaf069cac6f1c0311cf332820.tar.gz kernel-d5e51a10d21761faaf069cac6f1c0311cf332820.zip | |
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 <[email protected]>
Acked-by: Greg Rose <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
