summaryrefslogtreecommitdiffstats
path: root/include/linux/pkt_sched.h
diff options
context:
space:
mode:
authorPatrick McHardy2008-02-01 03:37:16 +0100
committerDavid S. Miller2008-02-01 04:28:35 +0100
commit94de78d19580143c407ff2492edf2410d0e7d48c (patch)
tree2753a5638e500101ec286fd5a02f042b4a1da129 /include/linux/pkt_sched.h
parent[NET_SCHED]: sch_sfq: add support for external classifiers (diff)
downloadkernel-qcow2-linux-94de78d19580143c407ff2492edf2410d0e7d48c.tar.gz
kernel-qcow2-linux-94de78d19580143c407ff2492edf2410d0e7d48c.tar.xz
kernel-qcow2-linux-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.
*