]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/pkt_sched.h
pkt_sched: Remove RR scheduler.
[linux-2.6-omap-h63xx.git] / include / linux / pkt_sched.h
index 268c51599eb8dc9343ffcdc6ef76e161858f6772..87f4e0fa8f2749020a7fe82f46d6ca2c22564dbc 100644 (file)
@@ -77,12 +77,14 @@ struct tc_ratespec
 {
        unsigned char   cell_log;
        unsigned char   __reserved;
-       unsigned short  feature;
-       short           addend;
+       unsigned short  overhead;
+       short           cell_align;
        unsigned short  mpu;
        __u32           rate;
 };
 
+#define TC_RTAB_SIZE   1024
+
 /* FIFO section */
 
 struct tc_fifo_qopt
@@ -101,15 +103,6 @@ struct tc_prio_qopt
        __u8    priomap[TC_PRIO_MAX+1]; /* Map: logical priority -> PRIO band */
 };
 
-enum
-{
-       TCA_PRIO_UNSPEC,
-       TCA_PRIO_MQ,
-       __TCA_PRIO_MAX
-};
-
-#define TCA_PRIO_MAX    (__TCA_PRIO_MAX - 1)
-
 /* TBF section */
 
 struct tc_tbf_qopt
@@ -148,6 +141,11 @@ struct tc_sfq_qopt
        unsigned        flows;          /* Maximal number of flows  */
 };
 
+struct tc_sfq_xstats
+{
+       __s32           allot;
+};
+
 /*
  *  NOTE: limit, divisor and flows are hardwired to code at the moment.
  *