Increase L2FIB MAC learn limit from 1M to 8M entries 32/8132/2
authorJohn Lo <[email protected]>
Fri, 18 Aug 2017 23:17:52 +0000 (19:17 -0400)
committerJohn Lo <[email protected]>
Sat, 19 Aug 2017 22:46:14 +0000 (22:46 +0000)
Change-Id: I04589d3613653c402e6628202598972c2fa59d24
Signed-off-by: John Lo <[email protected]>
src/vnet/l2/l2_learn.c

index b9904d3..1bee2b4 100644 (file)
@@ -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;
 }