summaryrefslogtreecommitdiff
path: root/include/linux/pkt_sched.h
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-31 18:37:16 -0800
committerDavid S. Miller <davem@davemloft.net>2008-01-31 19:28:35 -0800
commit94de78d19580143c407ff2492edf2410d0e7d48c (patch)
tree2753a5638e500101ec286fd5a02f042b4a1da129 /include/linux/pkt_sched.h
parent7d2681a6ff4f9ab5e48d02550b4c6338f1638998 (diff)
downloadlwn-94de78d19580143c407ff2492edf2410d0e7d48c.tar.gz
lwn-94de78d19580143c407ff2492edf2410d0e7d48c.zip
[NET_SCHED]: sch_sfq: make internal queues visible as classes
Add support for dumping statistics and make internal queues visible as classes. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/pkt_sched.h')
-rw-r--r--include/linux/pkt_sched.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h
index 32761352e858..dbb7ac37960d 100644
--- a/include/linux/pkt_sched.h
+++ b/include/linux/pkt_sched.h
@@ -150,6 +150,11 @@ struct tc_sfq_qopt
unsigned flows; /* Maximal number of flows */
};
+struct tc_sfq_xstats
+{
+ __s32 allot;
+};
+
/*
* NOTE: limit, divisor and flows are hardwired to code at the moment.
*