diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pkt_sched.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index fb556dc594d3..e41e0d4de24b 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h | |||
@@ -181,6 +181,7 @@ enum { | |||
181 | TCA_RED_UNSPEC, | 181 | TCA_RED_UNSPEC, |
182 | TCA_RED_PARMS, | 182 | TCA_RED_PARMS, |
183 | TCA_RED_STAB, | 183 | TCA_RED_STAB, |
184 | TCA_RED_MAX_P, | ||
184 | __TCA_RED_MAX, | 185 | __TCA_RED_MAX, |
185 | }; | 186 | }; |
186 | 187 | ||
@@ -194,8 +195,9 @@ struct tc_red_qopt { | |||
194 | unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ | 195 | unsigned char Plog; /* log(P_max/(qth_max-qth_min)) */ |
195 | unsigned char Scell_log; /* cell size for idle damping */ | 196 | unsigned char Scell_log; /* cell size for idle damping */ |
196 | unsigned char flags; | 197 | unsigned char flags; |
197 | #define TC_RED_ECN 1 | 198 | #define TC_RED_ECN 1 |
198 | #define TC_RED_HARDDROP 2 | 199 | #define TC_RED_HARDDROP 2 |
200 | #define TC_RED_ADAPTATIVE 4 | ||
199 | }; | 201 | }; |
200 | 202 | ||
201 | struct tc_red_xstats { | 203 | struct tc_red_xstats { |