ethernet: configure system default ethernet MTU
[vpp.git] / src / vnet / ethernet / init.c
index 9fd95f1..f78b65c 100644 (file)
@@ -88,6 +88,11 @@ ethernet_init (vlib_main_t * vm)
 
   em->type_info_by_name = hash_create_string (0, sizeof (uword));
   em->type_info_by_type = hash_create (0, sizeof (uword));
+  /*
+   * System default ethernet interface MTU, configure via ethernet_config in
+   * interface.c if desired.
+   */
+  em->default_mtu = 9000;
 
 #define ethernet_type(n,s) add_type (em, ETHERNET_TYPE_##s, #s);
 #include "types.def"