aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFushan Wen <qydwhotmail@gmail.com>2017-11-25 10:19:17 +0800
committerHauke Mehrtens <hauke@hauke-m.de>2017-11-25 19:53:37 +0100
commit40868e3bb6d81510425673d693a8d3abcc4193f7 (patch)
tree87529010219d6f49a202b3a39b97df34ea16548c /package
parent7a318bc1a1125d811b9c490087841860a6e196fd (diff)
downloadupstream-40868e3bb6d81510425673d693a8d3abcc4193f7.tar.gz
upstream-40868e3bb6d81510425673d693a8d3abcc4193f7.tar.bz2
upstream-40868e3bb6d81510425673d693a8d3abcc4193f7.zip
kmod-sched-cake: update to latest git HEAD
dfb2f6c pkt_sched: make compile again 5ab7026 sch_cake: make compile again 6f28803 codel5: make more checkpatch compliant bd426aa Fix build error on 4.12 e4a3628 Whitespace tidy up Signed-off-by: Fushan Wen <qydwhotmail@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/kernel/kmod-sched-cake/Makefile6
-rw-r--r--package/network/utils/iproute2/patches/950-add-cake-to-tc.patch39
2 files changed, 24 insertions, 21 deletions
diff --git a/package/kernel/kmod-sched-cake/Makefile b/package/kernel/kmod-sched-cake/Makefile
index f97967f246..ddeff650cc 100644
--- a/package/kernel/kmod-sched-cake/Makefile
+++ b/package/kernel/kmod-sched-cake/Makefile
@@ -13,9 +13,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git
-PKG_SOURCE_DATE:=2017-01-28
-PKG_SOURCE_VERSION:=9789742cfc596d48583ba4cdbc8f38d026121fa6
-PKG_MIRROR_HASH:=2a5afc45722c28ca8778eb50452eb305306e7898b32d7d6d73d3e77edf3cce99
+PKG_SOURCE_DATE:=2017-11-20
+PKG_SOURCE_VERSION:=dfb2f6ccfbea7c413acec97d8440e344b94ca8e7
+PKG_MIRROR_HASH:=bbb62e5ff3b04b8e7734912a8768114f5a8cbc6c7763ca29cef7cbdbaa0e782f
include $(INCLUDE_DIR)/package.mk
diff --git a/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch b/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch
index eacad074f1..7ce076e4a8 100644
--- a/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch
+++ b/package/network/utils/iproute2/patches/950-add-cake-to-tc.patch
@@ -1,6 +1,6 @@
--- a/include/linux/pkt_sched.h
+++ b/include/linux/pkt_sched.h
-@@ -871,4 +871,60 @@ struct tc_pie_xstats {
+@@ -871,4 +871,63 @@ struct tc_pie_xstats {
__u32 maxq; /* maximum queue size */
__u32 ecn_mark; /* packets marked with ecn*/
};
@@ -21,6 +21,8 @@
+ TCA_CAKE_ETHERNET,
+ TCA_CAKE_WASH,
+ TCA_CAKE_MPU,
++ TCA_CAKE_INGRESS,
++ TCA_CAKE_ACK_FILTER,
+ __TCA_CAKE_MAX
+};
+#define TCA_CAKE_MAX (__TCA_CAKE_MAX - 1)
@@ -33,31 +35,32 @@
+
+#define TC_CAKE_MAX_TINS (8)
+struct tc_cake_xstats {
-+ __u16 version; /* == 4, increments when struct extended */
++ __u16 version; /* == 5, increments when struct extended */
+ __u8 max_tins; /* == TC_CAKE_MAX_TINS */
+ __u8 tin_cnt; /* <= TC_CAKE_MAX_TINS */
+
-+ __u32 threshold_rate [TC_CAKE_MAX_TINS];
-+ __u32 target_us [TC_CAKE_MAX_TINS];
-+ struct tc_cake_traffic_stats sent [TC_CAKE_MAX_TINS];
-+ struct tc_cake_traffic_stats dropped [TC_CAKE_MAX_TINS];
++ __u32 threshold_rate[TC_CAKE_MAX_TINS];
++ __u32 target_us[TC_CAKE_MAX_TINS];
++ struct tc_cake_traffic_stats sent[TC_CAKE_MAX_TINS];
++ struct tc_cake_traffic_stats dropped[TC_CAKE_MAX_TINS];
+ struct tc_cake_traffic_stats ecn_marked[TC_CAKE_MAX_TINS];
-+ struct tc_cake_traffic_stats backlog [TC_CAKE_MAX_TINS];
-+ __u32 interval_us [TC_CAKE_MAX_TINS];
++ struct tc_cake_traffic_stats backlog[TC_CAKE_MAX_TINS];
++ __u32 interval_us[TC_CAKE_MAX_TINS];
+ __u32 way_indirect_hits[TC_CAKE_MAX_TINS];
-+ __u32 way_misses [TC_CAKE_MAX_TINS];
-+ __u32 way_collisions [TC_CAKE_MAX_TINS];
-+ __u32 peak_delay_us [TC_CAKE_MAX_TINS]; /* ~= delay to bulk flows */
-+ __u32 avge_delay_us [TC_CAKE_MAX_TINS];
-+ __u32 base_delay_us [TC_CAKE_MAX_TINS]; /* ~= delay to sparse flows */
-+ __u16 sparse_flows [TC_CAKE_MAX_TINS];
-+ __u16 bulk_flows [TC_CAKE_MAX_TINS];
-+ __u16 unresponse_flows [TC_CAKE_MAX_TINS]; /* v4 - was u32 last_len */
-+ __u16 spare [TC_CAKE_MAX_TINS]; /* v4 - split last_len */
-+ __u32 max_skblen [TC_CAKE_MAX_TINS];
++ __u32 way_misses[TC_CAKE_MAX_TINS];
++ __u32 way_collisions[TC_CAKE_MAX_TINS];
++ __u32 peak_delay_us[TC_CAKE_MAX_TINS]; /* ~= bulk flow delay */
++ __u32 avge_delay_us[TC_CAKE_MAX_TINS];
++ __u32 base_delay_us[TC_CAKE_MAX_TINS]; /* ~= sparse flows delay */
++ __u16 sparse_flows[TC_CAKE_MAX_TINS];
++ __u16 bulk_flows[TC_CAKE_MAX_TINS];
++ __u16 unresponse_flows[TC_CAKE_MAX_TINS]; /* v4 - was u32 last_len */
++ __u16 spare[TC_CAKE_MAX_TINS]; /* v4 - split last_len */
++ __u32 max_skblen[TC_CAKE_MAX_TINS];
+ __u32 capacity_estimate; /* version 2 */
+ __u32 memory_limit; /* version 3 */
+ __u32 memory_used; /* version 3 */
++ struct tc_cake_traffic_stats ack_drops[TC_CAKE_MAX_TINS]; /* v5 */
+};
+
#endif