summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-07 21:14:59 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-07 21:14:59 +0000
commitb2b254cb423ee5c0d9fa7198a08a9d16840a1af0 (patch)
tree3383000805036f37b8417843f3d864768ba8076f
parent39a50f68a0063fc769d0706cd7b37a474de7fd73 (diff)
Package multipath kernel modules from #1608
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7131 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/network.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk
index 5fe6c0ea5..720766d8e 100644
--- a/package/kernel/modules/network.mk
+++ b/package/kernel/modules/network.mk
@@ -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