c9154c270a
Relevant changes: 0afc1be Fixes for kernel 4.16 d2d6780 Reinitialise overhead compensation stats when reconfiguring. a3bab9d Export overhead compensation stats to userspace. 9cd2fa8 Split tin stats to its own structure to decrease size of tc_cake_xstats 71c7b44 Gather more statistics about packet length transformations. 0517357 Rework overhead compensation to use dynamic transport header offset instead of (inaccurate) static one. c1a0c8e Refactor length handling code to better centralise overhead calculations Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2016 LEDE
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=sched-cake
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/dtaht/sch_cake.git
|
|
PKG_SOURCE_DATE:=2018-03-19
|
|
PKG_SOURCE_VERSION:=0afc1bee4e9fc5d75668cb10254ab5d2d02f0098
|
|
PKG_MIRROR_HASH:=b8ac95753d05ff602282ed5a799f9c953f60decebc5720ee8f0101344a5acfc4
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define KernelPackage/sched-cake
|
|
SUBMENU:=Network Support
|
|
TITLE:=Cake fq_codel/blue derived shaper
|
|
URL:=https://github.com/dtaht/sch_cake
|
|
FILES:=$(PKG_BUILD_DIR)/sch_cake.ko
|
|
AUTOLOAD:=$(call AutoLoad,75,sch_cake)
|
|
DEPENDS:=+kmod-ipt-conntrack @!LINUX_3_18
|
|
endef
|
|
|
|
include $(INCLUDE_DIR)/kernel-defaults.mk
|
|
|
|
define KernelPackage/sched-cake/description
|
|
Common Applications Kept Enhanced fq_codel/blue derived shaper
|
|
endef
|
|
|
|
define Build/Compile
|
|
$(KERNEL_MAKE) SUBDIRS="$(PKG_BUILD_DIR)" modules
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,sched-cake))
|