]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/netdevice.h
net: decreasing real_num_tx_queues needs to flush qdisc
[net-next-2.6.git] / include / linux / netdevice.h
index 40291f3750247dfa12102178a6aed457e7735516..5e6188d9f017aa385717f490f4e1c6b896777d36 100644 (file)
@@ -1656,6 +1656,9 @@ static inline int netif_is_multiqueue(const struct net_device *dev)
        return (dev->num_tx_queues > 1);
 }
 
+extern void netif_set_real_num_tx_queues(struct net_device *dev,
+                                        unsigned int txq);
+
 /* Use this variant when it is known for sure that it
  * is executing from hardware interrupt context or with hardware interrupts
  * disabled.