[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.