]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98a831dd71df8c2601f00041e958d3a8ed673407
tree0f2b8c7f595616c7c0213d93a04c49fb3047ad7b
parent952ba8ba4e7712cd3e8418de5079b0ca90ce02b3
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