]> git.pld-linux.org Git - packages/linux-libc-headers.git/blob - linux-libc-headers-esfq.patch
- esfq patch fixed.
[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 @@ -157,6 +157,13 @@
5  
6  /* SFQ section */
7  
8 +enum
9 +{
10 +       TCA_SFQ_HASH_CLASSIC,
11 +       TCA_SFQ_HASH_DST,
12 +       TCA_SFQ_HASH_SRC,
13 +};
14 +
15  struct tc_sfq_qopt
16  {
17         unsigned        quantum;        /* Bytes per round allocated to flow */
18 @@ -164,6 +171,7 @@
19         __u32           limit;          /* Maximal packets in queue */
20         unsigned        divisor;        /* Hash divisor  */
21         unsigned        flows;          /* Maximal number of flows  */
22 +       unsigned        hash_kind;      /* Hash function to use for flow identification */
23  };
24  
25  /*
26 @@ -173,6 +181,8 @@
27   *
28   *     The only reason for this is efficiency, it is possible
29   *     to change these parameters in compile time.
30 + *     
31 + *     If you need to play with this values use esfq.
32   */
33  
34  /* RED section */
This page took 0.049771 seconds and 3 git commands to generate.