]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/ixgbe/ixgbe_main.c
net: decreasing real_num_tx_queues needs to flush qdisc
[net-next-2.6.git] / drivers / net / ixgbe / ixgbe_main.c
index a0b33165b989e41d8bcbba45d9e253545816ad04..7b5d9764f317c3c776712009dde301c27d9c3b99 100644 (file)
@@ -4001,7 +4001,7 @@ static void ixgbe_set_num_queues(struct ixgbe_adapter *adapter)
 
 done:
        /* Notify the stack of the (possibly) reduced Tx Queue count. */
-       adapter->netdev->real_num_tx_queues = adapter->num_tx_queues;
+       netif_set_real_num_tx_queues(adapter->netdev, adapter->num_tx_queues);
 }
 
 static void ixgbe_acquire_msix_vectors(struct ixgbe_adapter *adapter,