[E1000-devel] [RFC][PATCH] ixgbe: update real_num_tx_queues on changing num_rx_queues

2009-03-11 Thread Wu Fengguang
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_rx_queues. Signed-off-by: Wu Fengguang fengguang...@intel.com --- drivers/net/ixgbe/ixgbe_main.c | 21 +++-- 1 file changed, 11 insertions

[E1000-devel] [RFC][PATCH] ixgbe: fix tx queue index

2009-03-11 Thread Wu Fengguang
=num_tx_queues in the generic netdev function set_cur_queue_map(). So the bound limiting here is not necessary. Signed-off-by: Wu Fengguang fengguang...@intel.com --- drivers/net/ixgbe/ixgbe_main.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- mm.orig/drivers/net/ixgbe/ixgbe_main.c