-
Shubham Sharma authored
qos : queue_stats fixes for dynamic number of queues and queue stats without qid and ifname working. - Sustainable stats. - Device specific queue stats - Interface name now reading through UCI ports and code modularised, signal-handler code removed - removed qosmngr shared object from Makefile - Initial comments disposed. - Source code moved to seperate src directory - Added syslog in place of fprintf error logs. - seems to be working - Tests do not give warnings anymore - Unit and functional tests working - some more progress and minimal documentation - fixup to be squashed - temporary branch for easy-soc-libs - add gitlab infra support - qos ubus JSON reference for testing - Add QoS UCI config schema - add qos ubus JSON schema
Shubham Sharma authoredqos : queue_stats fixes for dynamic number of queues and queue stats without qid and ifname working. - Sustainable stats. - Device specific queue stats - Interface name now reading through UCI ports and code modularised, signal-handler code removed - removed qosmngr shared object from Makefile - Initial comments disposed. - Source code moved to seperate src directory - Added syslog in place of fprintf error logs. - seems to be working - Tests do not give warnings anymore - Unit and functional tests working - some more progress and minimal documentation - fixup to be squashed - temporary branch for easy-soc-libs - add gitlab infra support - qos ubus JSON reference for testing - Add QoS UCI config schema - add qos ubus JSON schema
common.mk 456 B
# Useful to refer to headers not located in the same directory as the source files being compiled
PROJECT_TOPLEVEL := $(dir $(CURDIR)/$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
INCLUDE_DIR = $(PROJECT_TOPLEVEL)/include
# Common compiler options
CC=gcc # gcc || clang
COMMON_LDFLAGS = -luci -lubus -lubox -ljson-c -lblobmsg_json -lnl-genl-3 -lnl-3 -lqos
QOSMNGR_LIB_DIR ?= $(shell dirname $(PWD))
QOSMNGR_LDFLAGS = -lqosmngr -L$(QOSMNGR_LIB_DIR)