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

RE: [Xen-devel] ip/udp checksum offload from minios guest

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] ip/udp checksum offload from minios guest
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Wed, 30 Mar 2011 12:11:56 +0100
Cc: Paul Durrant <Paul.Durrant@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Anil Madhavapeddy <anil@xxxxxxxxxx>
Delivery-date: Wed, 30 Mar 2011 04:15:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01CC84A6@trantor>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <2F393052-1CD6-403A-8924-5BA1C219D18F@xxxxxxxxxx> <1301416663.27123.8.camel@xxxxxxxxxxxxxxxxxxxxxx> <3866A6A0-CFAB-431D-91BB-2C115716D52C@xxxxxxxxxx> <291EDFCB1E9E224A99088639C47620228E936E2573@xxxxxxxxxxxxxxxxxxxxxxxxx> <409213E0-6823-42B1-8811-16BC33BE1671@xxxxxxxxxx> <1301475258.27123.44.camel@xxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01CC84A3@trantor> <1301481092.27123.86.camel@xxxxxxxxxxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01CC84A6@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 2011-03-30 at 11:37 +0100, James Harper wrote:
> > > Is IPv6 offload (gso and/or checksum) supported at this time?
> > 
> > For GSO only TCPv4 is supported.
> > 
> > For checksum only TCPv4 and UDPv4 are supported.
> > 
> > Extending netback to cover more cases would be relatively trivial, I
> > think. e.g. extending checksum_setup and/or netbk_set_skb_gso in
> > netback.c, plus doing the opposite same on the guest RX paths.
> > 
> > I suspect most of the complexity will probably come from the correct
> > negotiation of the featureset via xenstore ;-)
> > 
> 
> Yes. Given the problems I've seen under linux with offload it would be
> nice to have even more granularity than we do now. We'd definitely
> want to be able to turn offload on and off for all combinations of
> tcp/udp/csum/gso individually in case there is a problem somewhere.

Absolutely. Paul Durrant made some improvements in this area not so long
ago. Also from the looks of things upstream have recently separated out
the concept of what the h/w supports from what is actually currently
configured to be enabled which should be useful going forward.

> The main problem I've seen is that Linux doesn't seem to understand
> that my network card supports offload functions but not in combination
> with VLAN, so only the untagged packets (eg vlan1) can be offloaded.
> That was back at 2.6.18 so hopefully the support is better now.

I should hope so ;-)

In Linux a VLAN device is a new net device which sits on top of the
physical device and has it's own offload settings etc so at least there
is a route to fixing it there...

Ian



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