diff options
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 60de65316fdb..8018f6bf3051 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1674,6 +1674,9 @@ static inline int netif_is_multiqueue(const struct net_device *dev) | |||
1674 | return (dev->num_tx_queues > 1); | 1674 | return (dev->num_tx_queues > 1); |
1675 | } | 1675 | } |
1676 | 1676 | ||
1677 | extern void netif_set_real_num_tx_queues(struct net_device *dev, | ||
1678 | unsigned int txq); | ||
1679 | |||
1677 | /* Use this variant when it is known for sure that it | 1680 | /* Use this variant when it is known for sure that it |
1678 | * is executing from hardware interrupt context or with hardware interrupts | 1681 | * is executing from hardware interrupt context or with hardware interrupts |
1679 | * disabled. | 1682 | * disabled. |
@@ -2360,7 +2363,7 @@ do { \ | |||
2360 | #endif | 2363 | #endif |
2361 | 2364 | ||
2362 | #if defined(VERBOSE_DEBUG) | 2365 | #if defined(VERBOSE_DEBUG) |
2363 | #define netif_vdbg netdev_dbg | 2366 | #define netif_vdbg netif_dbg |
2364 | #else | 2367 | #else |
2365 | #define netif_vdbg(priv, type, dev, format, args...) \ | 2368 | #define netif_vdbg(priv, type, dev, format, args...) \ |
2366 | ({ \ | 2369 | ({ \ |