--- ./xen/netback/loopback.c.jumbo-mtu-on-vif 2006-07-20 16:21:52.000000000 +0100 +++ ./xen/netback/loopback.c 2006-07-20 16:23:08.000000000 +0100 @@ -161,16 +161,6 @@ NETIF_F_IP_CSUM); SET_ETHTOOL_OPS(dev, &network_ethtool_ops); - - /* - * We do not set a jumbo MTU on the interface. Otherwise the network - * stack will try to send large packets that will get dropped by the - * Ethernet bridge (unless the physical Ethernet interface is - * configured to transfer jumbo packets). If a larger MTU is desired - * then the system administrator can specify it using the 'ifconfig' - * command. - */ - /*dev->mtu = 16*1024;*/ } static int __init make_loopback(int i) @@ -193,6 +183,16 @@ loopback_construct(dev2, dev1); /* + * We only set a jumbo MTU on vif0.0. Otherwise the network + * stack will try to send large packets that will get dropped by the + * Ethernet bridge (unless the physical Ethernet interface is + * configured to transfer jumbo packets). If a larger MTU is desired + * then the system administrator can specify it using the 'ifconfig' + * command. + */ + dev1->mtu = 16*1024; + + /* * Initialise a dummy MAC address for the 'dummy backend' interface. We * choose the numerically largest non-broadcast address to prevent the * address getting stolen by an Ethernet bridge for STP purposes.