]> git.pld-linux.org Git - packages/kernel.git/blob - linux-remove_htb2_header.diff
- added description of djurban's branch
[packages/kernel.git] / linux-remove_htb2_header.diff
1 diff -urN linux.orig/include/linux/pkt_sched.h linux/include/linux/pkt_sched.h
2 --- linux.orig/include/linux/pkt_sched.h        Fri Dec 13 16:36:37 2002
3 +++ linux/include/linux/pkt_sched.h     Fri Dec 13 16:16:41 2002
4 @@ -190,55 +190,6 @@
5         unsigned char   Scell_log;      /* cell size for idle damping */
6  };
7  
8 -/* HTB section */
9 -#define TC_HTB_NUMPRIO         4
10 -#define TC_HTB_MAXDEPTH                4
11 -
12 -struct tc_htb_opt
13 -{
14 -       struct tc_ratespec      rate;
15 -       struct tc_ratespec      ceil;
16 -       __u32   buffer;
17 -       __u32   cbuffer;
18 -       __u32   quantum;        /* out only */
19 -       __u32   level;          /* out only */
20 -       __u8    prio;
21 -       __u8    injectd;        /* inject class distance */
22 -       __u8    pad[2];
23 -};
24 -struct tc_htb_glob
25 -{
26 -       __u32 rate2quantum;     /* bps->quantum divisor */
27 -       __u32 defcls;           /* default class number */
28 -       __u32 use_dcache;       /* use dequeue cache ? */
29 -       __u32 debug;            /* debug flags */
30 -
31 -
32 -       /* stats */
33 -       __u32 deq_rate; /* dequeue rate */
34 -       __u32 utilz;    /* dequeue utilization */
35 -       __u32 trials;   /* deq_prio trials per dequeue */
36 -       __u32 dcache_hits;
37 -       __u32 direct_pkts; /* count of non shapped packets */
38 -};
39 -enum
40 -{
41 -       TCA_HTB_UNSPEC,
42 -       TCA_HTB_PARMS,
43 -       TCA_HTB_INIT,
44 -       TCA_HTB_CTAB,
45 -       TCA_HTB_RTAB,
46 -};
47 -struct tc_htb_xstats
48 -{
49 -       __u32 lends;
50 -       __u32 borrows;
51 -       __u32 giants;   /* too big packets (rate will not be accurate) */
52 -       __u32 injects;  /* how many times leaf used injected bw */      
53 -       __u32 tokens;
54 -       __u32 ctokens;
55 -};
56 -
57  /* CBQ section */
58  
59  #define TC_CBQ_MAXPRIO         8
This page took 0.03263 seconds and 3 git commands to generate.