[openwrt/openwrt] kernel: kmod-geneve: kmod for Geneve tunneling

LEDE Commits lede-commits at lists.infradead.org
Tue Feb 27 21:01:05 PST 2018


yousong pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/83d8df1ea21d4ab6d8d3f890d8f8a8e4718a80e8

commit 83d8df1ea21d4ab6d8d3f890d8f8a8e4718a80e8
Author: Yousong Zhou <yszhou4tech at gmail.com>
AuthorDate: Tue Feb 13 11:20:57 2018 +0800

    kernel: kmod-geneve: kmod for Geneve tunneling
    
    This will be required for Open vSwitch geneve tunneling support
    
    Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 package/kernel/linux/modules/netsupport.mk | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk
index eb0657d..ff76720 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 at le4.1 \
+	$(LINUX_DIR)/drivers/net/geneve.ko at 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



More information about the lede-commits mailing list