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.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -2152,9 +2152,9 @@ static inline void netdev_for_each_tx_queue(struct net_device *dev, · 2151 unmodified lines | |||
| 2152 | &qdisc_xmit_lock_key); \ | 2152 | &qdisc_xmit_lock_key); \ |
| 2153 | } | 2153 | } |
| 2154 | 2154 | ||
| 2155 | struct netdev_queue *netdev_pick_tx(struct net_device *dev, | 2155 | struct 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 |