]> git.pld-linux.org Git - packages/linux-libc-headers.git/blame - linux-libc-headers-esfq.patch
- updated to 6.1.6
[packages/linux-libc-headers.git] / linux-libc-headers-esfq.patch
CommitLineData
d3addd79
JB
1--- linux-3.7/include/uapi/linux/pkt_sched.h.orig 2012-03-19 00:15:34.000000000 +0100
2+++ linux-3.7/include/uapi/linux/pkt_sched.h 2012-03-19 17:54:02.813513839 +0100
19d9c9f1
JB
3@@ -193,6 +193,31 @@
4 __s32 allot;
5 };
5baac4e2 6
6594a4b1
PS
7+/* ESFQ section */
8+
5baac4e2
PS
9+enum
10+{
e44d4182 11+ /* traditional */
5baac4e2
PS
12+ TCA_SFQ_HASH_CLASSIC,
13+ TCA_SFQ_HASH_DST,
14+ TCA_SFQ_HASH_SRC,
e44d4182
PS
15+ TCA_SFQ_HASH_FWMARK,
16+ /* direct */
17+ TCA_SFQ_HASH_DSTDIR,
18+ TCA_SFQ_HASH_SRCDIR,
19+ TCA_SFQ_HASH_FWMARKDIR,
5baac4e2
PS
20+};
21+
6594a4b1
PS
22+struct tc_esfq_qopt
23+{
24+ unsigned quantum; /* Bytes per round allocated to flow */
25+ int perturb_period; /* Period of hash perturbation */
26+ __u32 limit; /* Maximal packets in queue */
27+ unsigned divisor; /* Hash divisor */
28+ unsigned flows; /* Maximal number of flows */
32d6ee97 29+ unsigned hash_kind; /* Hash function to use for flow identification */
6594a4b1
PS
30+};
31+
32d6ee97 32 /* RED section */
6594a4b1 33
19d9c9f1 34 enum {
This page took 0.130582 seconds and 4 git commands to generate.