]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: update real_num_tx_queues on changing num_rx_queues
authorWu Fengguang <fengguang.wu@intel.com>
Wed, 15 Apr 2009 04:54:07 +0000 (21:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Apr 2009 04:54:07 +0000 (21:54 -0700)
commit66eea1912c79c87a5ec151f087e0d0ae4b6f7b6c
tree6b13fa15d215522f6fec4f7161a8f3f0e37b0f5b
parent2499ef9c5d27c2860717fdaa4e34f0916ba0cb97
ixgbe: update real_num_tx_queues on changing num_rx_queues

Move the update of real_num_tx_queues from
ixgbe_acquire_msix_vectors() to ixgbe_set_num_queues(), to ensure it
be always in sync with num_tx_queues.

Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c