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-devel

[Xen-devel] [PATCH] Baby giant / jumbo frames

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] Baby giant / jumbo frames
From: Ben McKeegan <ben.mckeegan@xxxxxxxxx>
Date: Fri, 25 Nov 2005 20:11:22 +0000
Delivery-date: Fri, 25 Nov 2005 20:11:20 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=tgLTxwLDYcAarrG17a3lD4VWRApFB40ke2Jbo3Hb2gNzWgP+m5qwD2jVBJhjlDjrBY909T0ECTegUD7LqGaRE+yJlgz6wbfuQzNDHjTL//UflzauEG+s83gks/N9wk9PSR0O2m5QXBQ1/zZ54N+hb3uePE+STuAg1b6/yp4g7EM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

Here's a patch against XenLinux from 2.0.7 that allows you to use baby
giant frames over vif's.

I've only done minimal testing on it but it should work with MTU's of
up to 3000.  The 3000 limit was arbitrarily chosen due to 4k pagesize
and because I'm not sufficiently knowledgeable about Xen's
architecture to work out exactly how much headroom is needed.  For my
requirements (layer 2 tunnelling) I'm never going to need an MTU of
more than 1600 so I've left this as an exercise for the reader. :-)

Note on bridging:  there seems to be a misconception by some that the
linux bridging code doesn't support jumbo frames.  For the record this
is not true, but it won't allow you to configure an MTU greater than
the smallest MTU on a bridge port.  (If there are no bridge ports the
maximum MTU is 1500.)   The trick is to configure the jumbo MTU on
each member of the bridge first before configuring it on the bridge
itself.

Regards,
Ben.

Attachment: baby-giant-mtu.diff
Description: Text Data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Baby giant / jumbo frames, Ben McKeegan <=