OSDN Git Service

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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Jun 2011 22:05:40 +0000 (15:05 -0700)
commit50224eeecc2357b6287ed2dc81963b61d89f824d
tree400ded710ef42cf97c1c3010da34ce1dc75bad74
parentc0ada91b9e3d46f7584f5a5392baecd5b3add5a8
igb: fix i350 SR-IOV failture

commit 665c8c8ee405738375b679246b49342ce38ba056 upstream.

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.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/igb/igb_main.c