summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_fifo.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2005-06-19 07:57:26 +0200
committerDavid S. Miller <davem@davemloft.net>2005-06-19 07:57:26 +0200
commit9972b25d0c6e7f8f893eb3444dea37b42b1201de (patch)
tree1f94d7bc245178d815669d4cf7db0f56ac71b752 /net/sched/sch_fifo.c
parent[SCTP]: Replace spin_lock_irqsave with spin_lock_bh (diff)
downloadlinux-9972b25d0c6e7f8f893eb3444dea37b42b1201de.tar.xz
linux-9972b25d0c6e7f8f893eb3444dea37b42b1201de.zip
[PKT_SCHED]: Generic queue management interface for qdiscs using internal skb queues
Implements an interface to be used by leaf qdiscs maintaining an internal skb queue. The interface maintains a backlog in bytes additionaly to the skb_queue_len() maintained by the queue itself. Relevant statistics get incremented automatically. Every function comes in two variants, one assuming Qdisc->q is used as queue and the second taking a sk_buff_head as argument. Be aware that, if you use multiple queues, you still have to maintain the Qdisc->q.qlen counter yourself. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_fifo.c')
0 files changed, 0 insertions, 0 deletions