ixgbevf: Set the netdev number of Tx queues
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 3 Oct 2012 00:57:23 +0000 (00:57 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Oct 2012 09:08:39 +0000 (02:08 -0700)
commit91e2b89b04d3f568dc4ec99f242a4a742061e399
tree0f2b8c7f595616c7c0213d93a04c49fb3047ad7b
parent66eef59f22275002f621ff9d951886b513d011b3
ixgbevf: Set the netdev number of Tx queues

The driver was not setting the number of real Tx queues in the net_device
structure.  This caused some serious issues such as Tx hangs and extremely
poor performance with some usages of the driver.

The issue is best observed by running:

iperf -c <host> -P <n>

Where n is greater than one.  The greater the value of n the more likely
the problem is to show up.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c