kernel-hacking-2024-linux-s.../include
Cong Wang 48bfd55e7e net_sched: plug in qdisc ops change_tx_queue_len
Introduce a new qdisc ops ->change_tx_queue_len() so that
each qdisc could decide how to implement this if it wants.
Previously we simply read dev->tx_queue_len, after pfifo_fast
switches to skb array, we need this API to resize the skb array
when we change dev->tx_queue_len.

To avoid handling race conditions with TX BH, we need to
deactivate all TX queues before change the value and bring them
back after we are done, this also makes implementation easier.

Cc: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-01-29 12:42:15 -05:00
..
acpi
asm-generic
clocksource
crypto
drm
dt-bindings
keys
kvm
linux net: introduce helper dev_change_tx_queue_len() 2018-01-29 12:42:15 -05:00
math-emu
media
memory
misc
net net_sched: plug in qdisc ops change_tx_queue_len 2018-01-29 12:42:15 -05:00
pcmcia
ras
rdma
scsi
soc
sound
target
trace
uapi dev: advertise the new ifindex when the netns iface changes 2018-01-29 12:23:52 -05:00
video
xen