diff options
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/pkt_sched.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/uapi/linux/pkt_sched.h b/include/uapi/linux/pkt_sched.h index 77eb331810b8..d62316baae94 100644 --- a/include/uapi/linux/pkt_sched.h +++ b/include/uapi/linux/pkt_sched.h | |||
| @@ -818,4 +818,29 @@ struct tc_hhf_xstats { | |||
| 818 | __u32 hh_tot_count; /* number of captured heavy-hitters so far */ | 818 | __u32 hh_tot_count; /* number of captured heavy-hitters so far */ |
| 819 | __u32 hh_cur_count; /* number of current heavy-hitters */ | 819 | __u32 hh_cur_count; /* number of current heavy-hitters */ |
| 820 | }; | 820 | }; |
| 821 | |||
| 822 | /* PIE */ | ||
| 823 | enum { | ||
| 824 | TCA_PIE_UNSPEC, | ||
| 825 | TCA_PIE_TARGET, | ||
| 826 | TCA_PIE_LIMIT, | ||
| 827 | TCA_PIE_TUPDATE, | ||
| 828 | TCA_PIE_ALPHA, | ||
| 829 | TCA_PIE_BETA, | ||
| 830 | TCA_PIE_ECN, | ||
| 831 | TCA_PIE_BYTEMODE, | ||
| 832 | __TCA_PIE_MAX | ||
| 833 | }; | ||
| 834 | #define TCA_PIE_MAX (__TCA_PIE_MAX - 1) | ||
| 835 | |||
| 836 | struct tc_pie_xstats { | ||
| 837 | __u32 prob; /* current probability */ | ||
| 838 | __u32 delay; /* current delay in ms */ | ||
| 839 | __u32 avg_dq_rate; /* current average dq_rate in bits/pie_time */ | ||
| 840 | __u32 packets_in; /* total number of packets enqueued */ | ||
| 841 | __u32 dropped; /* packets dropped due to pie_action */ | ||
| 842 | __u32 overlimit; /* dropped due to lack of space in queue */ | ||
| 843 | __u32 maxq; /* maximum queue size */ | ||
| 844 | __u32 ecn_mark; /* packets marked with ecn*/ | ||
| 845 | }; | ||
| 821 | #endif | 846 | #endif |
