X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Flinux%2Fpkt_sched.h;h=919af93b70596e70a06bdd10363c1d57a1aa50f4;hb=e6a5c27f3b0fef72e528fc35e343af4b2db790ff;hp=d10f35338507021c219bac8ce1d235b8a0c05b30;hpb=0a75c23a009ff65f651532cecc16675d05f4de37;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index d10f3533850..919af93b705 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h @@ -77,8 +77,8 @@ 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; }; @@ -101,6 +101,15 @@ 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