History

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.

Paolo Abeni committed 7 years ago

Commit 4bd97d51 parent 0b963ef4 files · +14 −14Browse files

Showing the changes to include/linux (1 of 4 files). Show all

Unified · Split

include/linux/netdevice.h+3−3
@@ -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
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 account2159/* returns the headroom that the master device needs to take in account
2160 * when forwarding to this dev2160 * when forwarding to this dev

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t