From 47e0a3b46b221b180ef6aeed5a492ffbe80344f0 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 6 Mar 2019 10:44:34 -0500 Subject: [PATCH 1/2] configure: Default to 16 way ecmp on compilation If a person who is compiling FRR does not specify the multipath number on configure we are defaulting to a ecmp of 1. Let's change this to 16. In this day and age most everything supports actual ecmp. Signed-off-by: Donald Sharp --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fcfc4bd2fb..9ae196fcb1 100755 --- a/configure.ac +++ b/configure.ac @@ -765,7 +765,7 @@ AC_DEFINE_UNQUOTED([CONFIGFILE_MASK], [${enable_configfile_mask}], [Mask for con enable_logfile_mask=${enable_logfile_mask:-0600} AC_DEFINE_UNQUOTED([LOGFILE_MASK], [${enable_logfile_mask}], [Mask for log files]) -MPATH_NUM=1 +MPATH_NUM=16 case "${enable_multipath}" in 0) From b16b7e07564e0c6dd86c72628ebf28abd180c9f2 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 6 Mar 2019 10:47:21 -0500 Subject: [PATCH 2/2] doc: Update documentation about multipath Signed-off-by: Donald Sharp --- doc/user/installation.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/user/installation.rst b/doc/user/installation.rst index 4e1582ccd8..e191ebd035 100644 --- a/doc/user/installation.rst +++ b/doc/user/installation.rst @@ -275,7 +275,8 @@ options from the list below. For backwards compatability with older configure options when setting X = 0, we will build FRR with 64 way ECMP. This is needed because there are hardcoded arrays that FRR builds towards, so we need to know how big to - make these arrays at build time. + make these arrays at build time. Additionally if this parameter is + not passed in FRR will default to 16 ECMP. .. option:: --enable-shell-access