]> git.pld-linux.org Git - packages/linux-libc-headers.git/blob - linux-libc-headers-esfq.patch
- updated for recent kernel patch.
[packages/linux-libc-headers.git] / linux-libc-headers-esfq.patch
1 diff -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
4 @@ -145,8 +145,35 @@
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 these values use esfq instead.
10   */
11  
12 +/* ESFQ section */
13 +
14 +enum
15 +{
16 +       /* traditional */
17 +       TCA_SFQ_HASH_CLASSIC,
18 +       TCA_SFQ_HASH_DST,
19 +       TCA_SFQ_HASH_SRC,
20 +       TCA_SFQ_HASH_FWMARK,
21 +       /* direct */
22 +       TCA_SFQ_HASH_DSTDIR,
23 +       TCA_SFQ_HASH_SRCDIR,
24 +       TCA_SFQ_HASH_FWMARKDIR,
25 +};
26 +
27 +struct tc_esfq_qopt
28 +{
29 +       unsigned        quantum;        /* Bytes per round allocated to flow */
30 +       int             perturb_period; /* Period of hash perturbation */
31 +       __u32           limit;          /* Maximal packets in queue */
32 +       unsigned        divisor;        /* Hash divisor  */
33 +       unsigned        flows;          /* Maximal number of flows  */
34 +       unsigned        hash_kind;      /* Hash function to use for flow identification */
35 +};
36 +
37  /* RED section */
38  
39  enum
This page took 0.031622 seconds and 4 git commands to generate.