1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00

kernel: netsupport: Add kmod-sched-act-sample

This adds the act_sample.ko and psample.ko kernel module which allows
traffic sampling.

Signed-off-by: Thomas Langer <tlanger@maxlinear.com>
Signed-off-by: Hauke Mehrtens <hmehrtens@maxlinear.com>
This commit is contained in:
Thomas Langer 2022-07-29 18:36:01 +02:00 committed by Hauke Mehrtens
parent 0e3911b608
commit aba1bdaed8

@ -775,6 +775,26 @@ endef
$(eval $(call KernelPackage,sched-core))
define KernelPackage/sched-act-sample
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Traffic Sampling
DEPENDS:=+kmod-sched-core
KCONFIG:= \
CONFIG_NET_ACT_SAMPLE \
CONFIG_PSAMPLE
FILES:= \
$(LINUX_DIR)/net/psample/psample.ko \
$(LINUX_DIR)/net/sched/act_sample.ko
AUTOLOAD:=$(call AutoProbe,act_sample psample)
endef
define KernelPackage/sched-act-sample/description
Packet sampling tc action.
endef
$(eval $(call KernelPackage,sched-act-sample))
define KernelPackage/sched-act-vlan
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=Traffic VLAN manipulation