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)
commitaf22ab1bd20e9dedf3a37cc1d401ef8bbd587ef0
tree6b13fa15d215522f6fec4f7161a8f3f0e37b0f5b
parent95615d90a321349709c80091f2a9cb284757ff0d
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