aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-04-05 21:27:40 +0200
committerFelix Fietkau <nbd@nbd.name>2022-04-05 21:28:32 +0200
commitc38b2c5f161aed5bcfa2df3df9042b4979dea255 (patch)
treeb9898c5a117760eea7d7d1454905d5f75df5f7b0 /package/network/config
parent0b98a55ad6de0564b31476c0f348980b0d802e83 (diff)
downloadupstream-c38b2c5f161aed5bcfa2df3df9042b4979dea255.tar.gz
upstream-c38b2c5f161aed5bcfa2df3df9042b4979dea255.tar.bz2
upstream-c38b2c5f161aed5bcfa2df3df9042b4979dea255.zip
qosify: update to the latest version
Replace the tc-full dependency with tc + libnl-tiny 1cd5e12eecdc loader/interface: attach bpf program directly using netlink Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/network/config')
-rw-r--r--package/network/config/qosify/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/package/network/config/qosify/Makefile b/package/network/config/qosify/Makefile
index d0cff54053..b15bde926d 100644
--- a/package/network/config/qosify/Makefile
+++ b/package/network/config/qosify/Makefile
@@ -11,9 +11,9 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=qosify
PKG_SOURCE_URL=$(PROJECT_GIT)/project/qosify.git
PKG_SOURCE_PROTO:=git
-PKG_SOURCE_DATE:=2022-03-22
-PKG_SOURCE_VERSION:=57c7817f91c2ff2f247b2d7eb8554e861c4aec33
-PKG_MIRROR_HASH:=409f7db13a36334557de861a016a8d9f241070b2bbf6f738e992281b36f41cd4
+PKG_SOURCE_DATE:=2022-04-05
+PKG_SOURCE_VERSION:=1cd5e12eecdcab0845eda71383c4c0ba17092c6f
+PKG_MIRROR_HASH:=f16748114ad5cad8fe1fe40ea43959873c5b0e8b75ddc99fc4323e12f0ab3b53
PKG_RELEASE:=$(AUTORELEASE)
PKG_LICENSE:=GPL-2.0
@@ -31,10 +31,16 @@ define Package/qosify
SECTION:=utils
CATEGORY:=Base system
TITLE:=A simple QoS solution based eBPF + CAKE
- DEPENDS:=+libbpf +libubox +libubus +kmod-sched-cake +kmod-sched-bpf +kmod-ifb +tc-full $(BPF_DEPENDS)
+ DEPENDS:=+libbpf +libubox +libubus +libnl-tiny +kmod-sched-cake +kmod-sched-bpf +kmod-ifb +tc $(BPF_DEPENDS)
endef
-TARGET_CFLAGS += -Wno-error=deprecated-declarations
+TARGET_CFLAGS += \
+ -Wno-error=deprecated-declarations \
+ -I$(STAGING_DIR)/usr/include/libnl-tiny \
+ -I$(STAGING_DIR)/usr/include
+
+CMAKE_OPTIONS += \
+ -DLIBNL_LIBS=-lnl-tiny
define Build/Compile
$(call CompileBPF,$(PKG_BUILD_DIR)/qosify-bpf.c)