mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
package/frr: make ECMP max configurable
Upstream FRR accepts --enable-multipath=N in the range 1-999. Buildroot previously hardcoded 256. Add a config integer to set the maximum ECMP paths at build time, keeping 256 as the default. Lower values help match hardware limits or reduce memory; higher values are useful for software routing or lab testing. Signed-off-by: Maxime Leroy <maxime@leroys.fr> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
da8587d2db
commit
9007673de7
@@ -33,6 +33,14 @@ config BR2_PACKAGE_FRR_BMP
|
||||
help
|
||||
Build BGP Monitoring Protocol daemon.
|
||||
|
||||
config BR2_PACKAGE_FRR_MULTIPATH_MAX
|
||||
int "maximum ECMP paths"
|
||||
default 256
|
||||
range 1 999
|
||||
help
|
||||
Compile FRR with support for up to this many equal-cost
|
||||
next-hops (ECMP).
|
||||
|
||||
config BR2_PACKAGE_FRR_NHRPD
|
||||
bool "NHRPD protocol"
|
||||
select BR2_PACKAGE_C_ARES
|
||||
|
||||
@@ -40,7 +40,7 @@ FRR_CONF_OPTS = --with-clippy=$(HOST_DIR)/bin/clippy \
|
||||
--with-moduledir=/usr/lib/frr/modules \
|
||||
--enable-configfile-mask=0640 \
|
||||
--enable-logfile-mask=0640 \
|
||||
--enable-multipath=256 \
|
||||
--enable-multipath=$(BR2_PACKAGE_FRR_MULTIPATH_MAX) \
|
||||
--disable-ospfclient \
|
||||
--enable-user=frr \
|
||||
--enable-group=frr \
|
||||
|
||||
Reference in New Issue
Block a user