aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-07-07 18:59:38 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-07 18:59:38 -0400
commit597e608a8492d662736c9bc6aa507dbf1cadc17d (patch)
tree6c330cdd0a4809f67dd191b37e34f5b4318cef78 /include/linux/netdevice.h
parentacbc0f039ff4b93da737c91937b7c70018ded39f (diff)
parent33b665eeeb85956ccbdf31c4c31a4e2a31133c44 (diff)
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h5
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
1677extern 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({ \