mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-01-13 18:31:02 +00:00
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
This commit is contained in:
parent
b750ea8568
commit
22f20c4a66
@ -1001,3 +1001,25 @@ define KernelPackage/rxrpc/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call KernelPackage,rxrpc))
|
$(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))
|
||||||
|
Loading…
Reference in New Issue
Block a user