summaryrefslogtreecommitdiffstats
path: root/src/vnet/l2
diff options
context:
space:
mode:
authorJohn Lo <loj@cisco.com>2017-08-18 19:17:52 -0400
committerJohn Lo <loj@cisco.com>2017-08-19 22:46:14 +0000
commit644d4671e42a5f91b575c3feacea222a90cb4275 (patch)
tree40519f7c97692dee443ce76abc249375ccf00193 /src/vnet/l2
parent7ec379582d9eccb90f69102a75262ae6ebf81f8f (diff)
Increase L2FIB MAC learn limit from 1M to 8M entries
Change-Id: I04589d3613653c402e6628202598972c2fa59d24 Signed-off-by: John Lo <loj@cisco.com>
Diffstat (limited to 'src/vnet/l2')
-rw-r--r--src/vnet/l2/l2_learn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/l2/l2_learn.c b/src/vnet/l2/l2_learn.c
index b9904d3edf5..1bee2b4e1aa 100644
--- a/src/vnet/l2/l2_learn.c
+++ b/src/vnet/l2/l2_learn.c
@@ -489,7 +489,7 @@ VLIB_NODE_FUNCTION_MULTIARCH (l2learn_node, l2learn_node_fn)
* Set the default number of dynamically learned macs to the number
* of buckets.
*/
- mp->global_learn_limit = L2FIB_NUM_BUCKETS * 16;
+ mp->global_learn_limit = L2FIB_NUM_BUCKETS * 128;
return 0;
}