Re: [PATCH] igb: SR-IOV init reordering

From: Jeff Kirsher
Date: Wed Mar 13 2013 - 03:52:01 EST


On Tue, 2013-03-12 at 15:25 -0600, Alex Williamson wrote:
> 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@xxxxxxxxxx>
> ---
> drivers/net/ethernet/intel/igb/igb_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

I have added the patch to my igb queue, thanks!

Attachment: signature.asc
Description: This is a digitally signed message part