diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2013-01-10 03:56:51 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-11 01:47:03 -0500 |
commit | 416186fbf8c5b4e4465a10c6ac7a45b6c47144b2 (patch) | |
tree | 8670e015c8e6ba3e41c7373671bcfe1b2703b653 /include | |
parent | c10d73671ad30f54692f7f69f0e09e75d3a8926a (diff) |
net: Split core bits of netdev_pick_tx into __netdev_pick_tx
This change splits the core bits of netdev_pick_tx into a separate function.
The main idea behind this is to make this code accessible to select queue
functions when they decide to process the standard path instead of their
own custom path in their select queue routine.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 0209ac328e8a..608c3ac4d045 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -1403,6 +1403,7 @@ static inline void netdev_for_each_tx_queue(struct net_device *dev, | |||
1403 | 1403 | ||
1404 | extern struct netdev_queue *netdev_pick_tx(struct net_device *dev, | 1404 | extern struct netdev_queue *netdev_pick_tx(struct net_device *dev, |
1405 | struct sk_buff *skb); | 1405 | struct sk_buff *skb); |
1406 | extern u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb); | ||
1406 | 1407 | ||
1407 | /* | 1408 | /* |
1408 | * Net namespace inlines | 1409 | * Net namespace inlines |