The default MTU on patch ports was 1500, which would cause jumbo frames
to get dropped between the ends of the patch. It also dropped the MTU
of attached bridges to no more that 1500 bytes. This patch increases
the default MTU to 65535. Long term, we should eliminate MTU on patch
ports entirely.
Signed-off-by: Justin Pettit <jpettit@nicira.com>
}
vport_gen_rand_ether_addr(patch_vport->devconf->eth_addr);
- patch_vport->devconf->mtu = ETH_DATA_LEN;
+
+ /* Make the default MTU fairly large so that it doesn't become the
+ * bottleneck on systems using jumbo frames. */
+ patch_vport->devconf->mtu = 65535;
return vport;