diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2013-01-10 12:56:51 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-11 10:47:03 +0400 |
commit | 416186fbf8c5b4e4465a10c6ac7a45b6c47144b2 (patch) | |
tree | 8670e015c8e6ba3e41c7373671bcfe1b2703b653 /include/linux/netdevice.h | |
parent | c10d73671ad30f54692f7f69f0e09e75d3a8926a (diff) | |
download | linux-416186fbf8c5b4e4465a10c6ac7a45b6c47144b2.tar.xz |
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/linux/netdevice.h')
-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, extern struct netdev_queue *netdev_pick_tx(struct net_device *dev, struct sk_buff *skb); +extern u16 __netdev_pick_tx(struct net_device *dev, struct sk_buff *skb); /* * Net namespace inlines |