igb: fix i350 SR-IOV failture
authorWilliams, Mitch A <mitch.a.williams@intel.com>
Tue, 7 Jun 2011 21:22:57 +0000 (14:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Jun 2011 21:22:57 +0000 (14:22 -0700)
commit665c8c8ee405738375b679246b49342ce38ba056
treee4d2b406e94757a9be8bbe2d3229a9ce3e8ce3db
parent264524d5e5195f6e0f099bee20253a22b651e272
igb: fix i350 SR-IOV failture

When SR-IOV is enabled, i350 devices fail to pass traffic. This is due to
the driver attempting to enable RSS on the PF device, which is not
supported by the i350.

When max_vfs is specified on an i350 adapter, set the number of RSS queues
to 1.

This issue affects 2.6.39 as well.

CC: stable@kernel.org
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c