From 21d25530b42d6c6e484b673182834275dba6b495 Mon Sep 17 00:00:00 2001 From: Dave Taht Date: Thu, 22 Mar 2018 14:53:59 -0700 Subject: [PATCH] retire link_ms and increase packets to 64 bits the link_ms field was entirely unused I have certainly managed to overrun the 32 bit packet field, so increase that to 64 bits. --- pkt_sched.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkt_sched.h b/pkt_sched.h index 71288fb..105dd75 100644 --- a/pkt_sched.h +++ b/pkt_sched.h @@ -881,8 +881,7 @@ enum { #define TCA_CAKE_MAX (__TCA_CAKE_MAX - 1) struct tc_cake_traffic_stats { - __u32 packets; - __u32 link_ms; + __u64 packets; __u64 bytes; }; -- 2.7.4