]> git.pld-linux.org Git - packages/linux-libc-headers.git/blame - linux-libc-headers-esfq.patch
- add linux-libc-headers-partial-2.6.14.patch (changes needed for new iproute2)
[packages/linux-libc-headers.git] / linux-libc-headers-esfq.patch
CommitLineData
32d6ee97
PS
1diff -uNr linux-libc-headers-2.6.5.1.orig/include/linux/pkt_sched.h linux-libc-headers-2.6.5.1/include/linux/pkt_sched.h
2--- linux-libc-headers-2.6.5.1.orig/include/linux/pkt_sched.h 2004-05-02 23:08:48.000000000 +0200
3+++ linux-libc-headers-2.6.5.1/include/linux/pkt_sched.h 2004-05-07 23:42:56.411761880 +0200
6594a4b1
PS
4@@ -145,8 +145,29 @@
5 *
6 * The only reason for this is efficiency, it is possible
7 * to change these parameters in compile time.
8+ *
9+ * If you need to play with this values use esfq.
10 */
5baac4e2 11
6594a4b1
PS
12+/* ESFQ section */
13+
5baac4e2
PS
14+enum
15+{
16+ TCA_SFQ_HASH_CLASSIC,
17+ TCA_SFQ_HASH_DST,
18+ TCA_SFQ_HASH_SRC,
19+};
20+
6594a4b1
PS
21+struct tc_esfq_qopt
22+{
23+ unsigned quantum; /* Bytes per round allocated to flow */
24+ int perturb_period; /* Period of hash perturbation */
25+ __u32 limit; /* Maximal packets in queue */
26+ unsigned divisor; /* Hash divisor */
27+ unsigned flows; /* Maximal number of flows */
32d6ee97 28+ unsigned hash_kind; /* Hash function to use for flow identification */
6594a4b1
PS
29+};
30+
32d6ee97 31 /* RED section */
6594a4b1
PS
32
33 enum
This page took 0.028413 seconds and 4 git commands to generate.