]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - include/uapi/linux/pkt_sched.h
Update kernel headers
[mirror_iproute2.git] / include / uapi / linux / pkt_sched.h
index 5011259b8f67aac86565b17544f54fa47cb624d4..bf5a5b1dfb0b03fcf410cef38b0e106ebdc90ad7 100644 (file)
@@ -950,19 +950,25 @@ enum {
        TCA_PIE_BETA,
        TCA_PIE_ECN,
        TCA_PIE_BYTEMODE,
+       TCA_PIE_DQ_RATE_ESTIMATOR,
        __TCA_PIE_MAX
 };
 #define TCA_PIE_MAX   (__TCA_PIE_MAX - 1)
 
 struct tc_pie_xstats {
-       __u64 prob;             /* current probability */
-       __u32 delay;            /* current delay in ms */
-       __u32 avg_dq_rate;      /* current average dq_rate in bits/pie_time */
-       __u32 packets_in;       /* total number of packets enqueued */
-       __u32 dropped;          /* packets dropped due to pie_action */
-       __u32 overlimit;        /* dropped due to lack of space in queue */
-       __u32 maxq;             /* maximum queue size */
-       __u32 ecn_mark;         /* packets marked with ecn*/
+       __u64 prob;                     /* current probability */
+       __u32 delay;                    /* current delay in ms */
+       __u32 avg_dq_rate;              /* current average dq_rate in
+                                        * bits/pie_time
+                                        */
+       __u32 dq_rate_estimating;       /* is avg_dq_rate being calculated? */
+       __u32 packets_in;               /* total number of packets enqueued */
+       __u32 dropped;                  /* packets dropped due to pie_action */
+       __u32 overlimit;                /* dropped due to lack of space
+                                        * in queue
+                                        */
+       __u32 maxq;                     /* maximum queue size */
+       __u32 ecn_mark;                 /* packets marked with ecn*/
 };
 
 /* CBS */
@@ -1181,4 +1187,21 @@ enum {
 
 #define TCA_TAPRIO_ATTR_MAX (__TCA_TAPRIO_ATTR_MAX - 1)
 
+/* ETS */
+
+#define TCQ_ETS_MAX_BANDS 16
+
+enum {
+       TCA_ETS_UNSPEC,
+       TCA_ETS_NBANDS,         /* u8 */
+       TCA_ETS_NSTRICT,        /* u8 */
+       TCA_ETS_QUANTA,         /* nested TCA_ETS_QUANTA_BAND */
+       TCA_ETS_QUANTA_BAND,    /* u32 */
+       TCA_ETS_PRIOMAP,        /* nested TCA_ETS_PRIOMAP_BAND */
+       TCA_ETS_PRIOMAP_BAND,   /* u8 */
+       __TCA_ETS_MAX,
+};
+
+#define TCA_ETS_MAX (__TCA_ETS_MAX - 1)
+
 #endif