diff options
author | Jiri Pirko <jiri@resnulli.us> | 2015-05-12 08:56:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-13 15:19:46 -0400 |
commit | 5605c76240aadc823e3d46ac9afde2f26fbcf019 (patch) | |
tree | eff41815ae63634daf67035e71fec38d546e4d1b /include/linux/netdevice.h | |
parent | 9c684b5083bc191c4b7b189c73d75587e167a474 (diff) |
net: move __skb_tx_hash to dev.c
__skb_tx_hash function has no relation to flow_dissect so just move it
to dev.c
Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index cd0951c1893d..d3ed01c18247 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2832,6 +2832,9 @@ static inline int netif_set_xps_queue(struct net_device *dev, | |||
2832 | } | 2832 | } |
2833 | #endif | 2833 | #endif |
2834 | 2834 | ||
2835 | u16 __skb_tx_hash(const struct net_device *dev, struct sk_buff *skb, | ||
2836 | unsigned int num_tx_queues); | ||
2837 | |||
2835 | /* | 2838 | /* |
2836 | * Returns a Tx hash for the given packet when dev->real_num_tx_queues is used | 2839 | * Returns a Tx hash for the given packet when dev->real_num_tx_queues is used |
2837 | * as a distribution range limit for the returned value. | 2840 | * as a distribution range limit for the returned value. |