]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: cleanup maximum number of tx queues
authorJohn Fastabend <john.r.fastabend@intel.com>
Wed, 24 Mar 2010 10:01:45 +0000 (10:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2010 18:56:02 +0000 (11:56 -0700)
commitb41061111852251618995eb79c6a114e1bdcff76
tree4740b85f8199d24b413ab423f3e304e9c1998c98
parentd88f76a4708c006eddb15167a92498d0a59d199e
ixgbe: cleanup maximum number of tx queues

In the last patch I missed an unecessary min_t comparison.
This patch removes it, the path allocates at most
72 tx queues for 82599 and 24 for 82598 there is no need
for this check.

Additionally this sets MAX_[TX|RX]_QUEUES to 72.  Which is
used as the size for the tx/rx_ring arrays. There is no
reason to have more tx_rings/rx_rings then num_tx_queues.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_main.c