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] networking checksum errors again

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] networking checksum errors again
From: Florian Kirstein <xenlist@xxxxxxxxxxxxxx>
Date: Fri, 31 Mar 2006 07:46:41 +0200
Cc: Jason <xen@xxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 31 Mar 2006 05:48:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.63.0603302326590.11051@localhost>; from xen@xxxxxxxxxxxxxxxxx on Thu, Mar 30, 2006 at 11:30:09PM -0600
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>
References: <Pine.LNX.4.63.0603302326590.11051@localhost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.2.5.1i
Hallo,

> Regardless of whether or not I use a dom0 kernel or a domU kernel I
> get failed checksum packets whenever I try to route across a virtual
> interface.  I have a pure virtual setup
Ah, I just dived into that recently... Is there a bugzilla id
for that already? I had the same problem as you, Dom0 can't communicate
with DomU due to the checksum errors in a routed setup, everything
works when bridged. But I don't want to bridge :)

> thing on all interfaces, tried changing the code in netback.c to
> force a checksum and have had no luck.   Any else having trouble?
Which netback.c patch did you use? I currently have a working setup
using the "interface.c" patch which removes the NETIF_F_NO_CSUM from
the dev->features in Dom0 (attached). Using this "sum ok" packets go
from Dom0 to DomU (also leaving Dom0 intact), DomU to Dom0 packets
are broken leaving DomU but Dom0 ignores that. Using
ethtool -K eth0 tx off
in DomU I can bring DomU to generate valid sums also, but that's cosmetic
and not needed for a working setup. I'd rather also patch this in the
kernel instead of running ethtool in every DomU but I haven't searched
for that yet. Should be easy, though :)

As far as I understood the discussion, this is not an easy issue and
possibly will be dealt with in in clean way after the 3.0.2 release?
For now I have other problems, the above setup seems to work fine
for me (also for DomU-DomU communication, which of course is routed
over Dom0. Will have to test tunnels/vpn in DomU).

(:ul8er, r@y

Attachment: netback-interface.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>