From: Yousong Zhou Date: Tue, 13 Feb 2018 03:20:57 +0000 (+0800) Subject: kernel: kmod-geneve: kmod for Geneve tunneling X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=83d8df1ea21d4ab6d8d3f890d8f8a8e4718a80e8;p=openwrt%2Fstaging%2Fjogo.git kernel: kmod-geneve: kmod for Geneve tunneling This will be required for Open vSwitch geneve tunneling support Signed-off-by: Yousong Zhou --- diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index eb0657d58f..ff76720636 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -105,6 +105,29 @@ endef $(eval $(call KernelPackage,vxlan)) + +define KernelPackage/geneve + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=Generic Network Virtualization Encapsulation (Geneve) support + DEPENDS:= \ + +kmod-iptunnel \ + +kmod-udptunnel4 \ + +IPV6:kmod-udptunnel6 + KCONFIG:=CONFIG_GENEVE + FILES:= \ + $(LINUX_DIR)/net/ipv4/geneve.ko@le4.1 \ + $(LINUX_DIR)/drivers/net/geneve.ko@ge4.2 + AUTOLOAD:=$(call AutoLoad,13,geneve) +endef + +define KernelPackage/geneve/description + Kernel module for supporting Geneve in the Kernel. + Requires Kernel 3.18 or newer. +endef + +$(eval $(call KernelPackage,geneve)) + + define KernelPackage/capi SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=CAPI (ISDN) Support