diff --git a/lcpng_interface.c b/lcpng_interface.c index 9009b38..2d77039 100644 --- a/lcpng_interface.c +++ b/lcpng_interface.c @@ -775,6 +775,15 @@ lcp_itf_pair_create (u32 phy_sw_if_index, u8 *host_if_name, return args.rv; } + /* + * The TAP interface does copy forward the host MTU based on the VPP + * interface's L3 MTU, but it should also ensure that the VPP tap + * interface has an MTU that is greater-or-equal to those. Considering + * users can set the interfaces at runtime (set interface mtu packet ...) + * ensure that the tap MTU is large enough. + */ + vnet_sw_interface_set_mtu (vnm, args.sw_if_index, 9216); + /* * get the hw and ethernet of the tap */