netdev: Allocate multiple queues for TX.
alloc_netdev_mq() now allocates an array of netdev_queue
structures for TX, based upon the queue_count argument.
Furthermore, all accesses to the TX queues are now vectored
through the netdev_get_tx_queue() and netdev_for_each_tx_queue()
interfaces. This makes it easy to grep the tree for all
things that want to get to a TX queue of a net device.
Problem spots which are not really multiqueue aware yet, and
only work with one queue, can easily be spotted by grepping
for all netdev_get_tx_queue() calls that pass in a zero index.
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/bonding/bond_main.c 4 additions, 2 deletionsdrivers/net/bonding/bond_main.c
- drivers/net/hamradio/bpqether.c 4 additions, 2 deletionsdrivers/net/hamradio/bpqether.c
- drivers/net/ifb.c 9 additions, 3 deletionsdrivers/net/ifb.c
- drivers/net/macvlan.c 4 additions, 2 deletionsdrivers/net/macvlan.c
- drivers/net/wireless/hostap/hostap_hw.c 4 additions, 2 deletionsdrivers/net/wireless/hostap/hostap_hw.c
- include/linux/netdevice.h 46 additions, 23 deletionsinclude/linux/netdevice.h
- include/net/sch_generic.h 26 additions, 11 deletionsinclude/net/sch_generic.h
- net/8021q/vlan_dev.c 6 additions, 4 deletionsnet/8021q/vlan_dev.c
- net/core/dev.c 31 additions, 9 deletionsnet/core/dev.c
- net/core/rtnetlink.c 1 addition, 1 deletionnet/core/rtnetlink.c
- net/mac80211/main.c 2 additions, 2 deletionsnet/mac80211/main.c
- net/mac80211/wme.c 6 additions, 6 deletionsnet/mac80211/wme.c
- net/netrom/af_netrom.c 4 additions, 2 deletionsnet/netrom/af_netrom.c
- net/rose/af_rose.c 4 additions, 2 deletionsnet/rose/af_rose.c
- net/sched/cls_api.c 2 additions, 2 deletionsnet/sched/cls_api.c
- net/sched/sch_api.c 23 additions, 9 deletionsnet/sched/sch_api.c
- net/sched/sch_generic.c 130 additions, 48 deletionsnet/sched/sch_generic.c
- net/sched/sch_teql.c 14 additions, 7 deletionsnet/sched/sch_teql.c
Loading
Please register or sign in to comment