Просмотр исходного кода

netsupport: add kmod-nsh

This is required by kmod-openvswitch since linux 4.15.

Signed-off-by: Yousong Zhou <[email protected]>
Yousong Zhou 6 лет назад
Родитель
Сommit
f528d771c4
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      package/kernel/linux/modules/netsupport.mk

+ 17 - 0
package/kernel/linux/modules/netsupport.mk

@@ -128,6 +128,23 @@ endef
 $(eval $(call KernelPackage,geneve))
 
 
+define KernelPackage/nsh
+  SUBMENU:=$(NETWORK_SUPPORT_MENU)
+  TITLE:=Network Service Header (NSH) protocol
+  DEPENDS:=
+  KCONFIG:=CONFIG_NET_NSH
+  FILES:=$(LINUX_DIR)/net/nsh/[email protected]
+  AUTOLOAD:=$(call AutoLoad,13,nsh)
+endef
+
+define KernelPackage/nsh/description
+  Network Service Header is an implementation of Service Function
+  Chaining (RFC 7665).  Requires kernel 4.14 or newer
+endef
+
+$(eval $(call KernelPackage,nsh))
+
+
 define KernelPackage/capi
   SUBMENU:=$(NETWORK_SUPPORT_MENU)
   TITLE:=CAPI (ISDN) Support