aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2019-03-20 06:02:04 -0400
committerDavid S. Miller <davem@davemloft.net>2019-03-20 14:18:54 -0400
commit4bd97d51a5e602ea1fbdab8c2d653513dea17115 (patch)
treee805f47e700c42818aa07cb32d8fa7d2f0922920 /include/linux/netdevice.h
parent0b963ef20c5624c4cc6c4ef408b301a24b26b96b (diff)
net: dev: rename queue selection helpers.
With the following patches, we are going to use __netdev_pick_tx() in many modules. Rename it to netdev_pick_tx(), to make it clear is a public API. Also rename the existing netdev_pick_tx() to netdev_core_pick_tx(), to avoid name clashes. Suggested-by: Eric Dumazet <edumazet@google.com> Suggested-by: David Miller <davem@davemloft.net> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 26f69cf763f4..57cd2bdd9f78 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -2152,9 +2152,9 @@ static inline void netdev_for_each_tx_queue(struct net_device *dev,
2152 &qdisc_xmit_lock_key); \ 2152 &qdisc_xmit_lock_key); \
2153} 2153}
2154 2154
2155struct netdev_queue *netdev_pick_tx(struct net_device *dev, 2155struct netdev_queue *netdev_core_pick_tx(struct net_device *dev,
2156 struct sk_buff *skb, 2156 struct sk_buff *skb,
2157 struct net_device *sb_dev); 2157 struct net_device *sb_dev);
2158 2158
2159/* returns the headroom that the master device needs to take in account 2159/* returns the headroom that the master device needs to take in account
2160 * when forwarding to this dev 2160 * when forwarding to this dev