]> bbs.cooldavid.org Git - net-next-2.6.git/commit
igb: Use only a single Tx queue in SR-IOV mode
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 1 Jul 2010 13:38:16 +0000 (13:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Jul 2010 05:45:55 +0000 (22:45 -0700)
commit5fa8517f038d51d571981fb495206cc30ed91b06
tree220719b760747cea356a564e67ab34ca3209dca2
parentede3ef0d940ef052466f42c849390b23c6859abc
igb: Use only a single Tx queue in SR-IOV mode

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.

CC: stable@kernel.org
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>
drivers/net/igb/igb_main.c