WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Do not set jumbo MTU on the fake netfront/back loopback

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Do not set jumbo MTU on the fake netfront/back loopback device. It
From: BitKeeper Bot <riel@xxxxxxxxxxx>
Date: Thu, 19 May 2005 14:03:42 +0000
Delivery-date: Thu, 19 May 2005 15:08:31 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: Xen Development List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
ChangeSet 1.1873, 2005/05/19 15:03:42+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Do not set jumbo MTU on the fake netfront/back loopback device. It 
        causes packet loss at the Ethernet bridge (since bridges do not
        fragment IP packets).
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 loopback.c |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletion(-)


diff -Nru a/linux-2.6.11-xen-sparse/drivers/xen/netback/loopback.c 
b/linux-2.6.11-xen-sparse/drivers/xen/netback/loopback.c
--- a/linux-2.6.11-xen-sparse/drivers/xen/netback/loopback.c    2005-05-19 
11:09:12 -04:00
+++ b/linux-2.6.11-xen-sparse/drivers/xen/netback/loopback.c    2005-05-19 
11:09:12 -04:00
@@ -94,7 +94,15 @@
     dev->get_stats       = loopback_get_stats;
 
     dev->tx_queue_len    = 0;
-    dev->mtu             = 16*1024;
+
+    /*
+     * 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 loopback_init(void)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>