]> git.baikalelectronics.ru Git - kernel.git/commit
igb: when number of CPUs > 4 combine tx/rx queues to allow more queues
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Nov 2009 18:37:19 +0000 (18:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:50 +0000 (20:46 -0800)
commitb22c457b02b1acbbb84652e759aad73bd0af6bc6
tree9c70e2a346be40b9d16b861c9f619e2cd6687948
parent2c170d808d798c366724139abc66617e8befa0dd
igb: when number of CPUs > 4 combine tx/rx queues to allow more queues

This patch makes it so that nics such as 82576 and newer can support more
hardware queues when there are more than 4 cpus by combining a tx/rx queue
pair onto one interrupt so that 8 queue pairs can be supported and thus
allow for more queues.

Signed-off-by: Alexander Duyck <alexander.h.duyck@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.h
drivers/net/igb/igb_main.c