diff options
author | John Crispin <john@openwrt.org> | 2016-02-12 08:31:17 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-02-12 08:31:17 +0000 |
commit | 22f20c4a6690520cfb9b8045a92d21e7974d1e2d (patch) | |
tree | 905186f929de68225a4d678aeca670b999e13565 /package/kernel/linux/modules/netsupport.mk | |
parent | b750ea85687dbe97928029cff3197c42b8befb25 (diff) | |
download | mtk-20170518-22f20c4a6690520cfb9b8045a92d21e7974d1e2d.zip mtk-20170518-22f20c4a6690520cfb9b8045a92d21e7974d1e2d.tar.gz mtk-20170518-22f20c4a6690520cfb9b8045a92d21e7974d1e2d.tar.bz2 |
linux/netsupport: Add support for MPLS protocol
This adds support for MPLS protocol including usage of lightweight tunnels.
Kernel size of vmlinuz.bin grows by ~8k.
Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 48710
Diffstat (limited to 'package/kernel/linux/modules/netsupport.mk')
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index 77bd67a..8a923ed 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -1001,3 +1001,25 @@ define KernelPackage/rxrpc/description endef $(eval $(call KernelPackage,rxrpc)) + +define KernelPackage/mpls + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=MPLS support + KCONFIG:= \ + CONFIG_MPLS=y \ + CONFIG_LWTUNNEL=y \ + CONFIG_NET_MPLS_GSO=m \ + CONFIG_MPLS_ROUTING=m \ + CONFIG_MPLS_IPTUNNEL=m + FILES:= \ + $(LINUX_DIR)/net/mpls/mpls_gso.ko \ + $(LINUX_DIR)/net/mpls/mpls_iptunnel.ko \ + $(LINUX_DIR)/net/mpls/mpls_router.ko + AUTOLOAD:=$(call AutoLoad,30,mpls_router mpls_iptunnel mpls_gso) +endef + +define KernelPackage/mpls/description + Kernel support for MPLS +endef + +$(eval $(call KernelPackage,mpls)) |