igb: Use only a single Tx queue in SR-IOV mode
commit838f066e81678aa034c21796a79fa42ed7f940c6
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 1 Jul 2010 13:38:16 +0000 (1 13:38 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:54:09 +0000 (10 10:54 -0700)
tree3266defbe5c3f052e79d03ccd8f8fe04caf90e75
parent7ac2eb70d871029d6e7d3e6e5745d519de0b5a08
igb: Use only a single Tx queue in SR-IOV mode

commit 5fa8517f038d51d571981fb495206cc30ed91b06 upstream.

The 82576 expects the second rx queue in any pool to receive L2 switch
loop back packets sent from the second tx queue in another pool.  The
82576 VF driver does not enable the second rx queue so if the PF driver
sends packets destined to a VF from its second tx queue then the VF
driver will never see them.  In SR-IOV mode limit the number of tx queues
used by the PF driver to one. This patch fixes a bug reported in which
the PF cannot communciate with the VF and should be considered for 2.6.34
stable.

Signed-off-by: Greg Rose <gregory.v.rose@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