aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/ethernet/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/ethernet/init.c')
-rw-r--r--src/vnet/ethernet/init.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/ethernet/init.c b/src/vnet/ethernet/init.c
index 9fd95f1b75a..f78b65c7cc0 100644
--- a/src/vnet/ethernet/init.c
+++ b/src/vnet/ethernet/init.c
@@ -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"