Package multipath kernel modules from #1608
authorFlorian Fainelli <florian@openwrt.org>
Mon, 7 May 2007 21:14:59 +0000 (21:14 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Mon, 7 May 2007 21:14:59 +0000 (21:14 +0000)
SVN-Revision: 7131

package/kernel/modules/network.mk

index 5fe6c0ea57a07dfc1a85202b7019a745eb84e53c..720766d8e930e1f31c6119a4955912709badedf7 100644 (file)
@@ -258,6 +258,25 @@ endef
 $(eval $(call KernelPackage,ax25))
 
 
+define KernelPackage/mp-alg
+  TITLE:=ECMP caching algorithms
+  DESCRIPTION:= \
+       Kernel modules that provide several different algorithms for multipath \\\
+       route selection from the route cache. The iproute "mpath" argument allows \\\
+       specifying which algorithm to use for routes. \\\
+       quagga (at least <=0.99.6) requires a multipath patch to support this \\\
+       cached mp route feature.
+  SUBMENU:=$(NSMENU)
+  KCONFIG:= \
+       $(CONFIG_IP_ROUTE_MULTIPATH_RR) \
+       $(CONFIG_IP_ROUTE_MULTIPATH_RANDOM) \
+       $(CONFIG_IP_ROUTE_MULTIPATH_WRANDOM) \
+       $(CONFIG_IP_ROUTE_MULTIPATH_DRR)
+  FILES:=$(MODULES_DIR)/kernel/net/ipv4/multipath_*.$(LINUX_KMOD_SUFFIX)
+  AUTOLOAD:=$(call AutoLoad,35,multipath_rr multipath_random multipath_wrandom multipath_drr)
+endef
+$(eval $(call KernelPackage,mp-alg))
+
 
 
 NDMENU:=Network Devices