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] skb_checksum_setup and NAT

To: Christophe Saout <christophe@xxxxxxxx>, Xen Devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] skb_checksum_setup and NAT
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 28 Sep 2006 18:35:27 +0100
Delivery-date: Thu, 28 Sep 2006 10:34:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1159459960.9340.10.camel@xxxxxxxxxxxxxxxxxxxx>
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
Thread-index: AcbjJHxHuv86hk8XEdu+mQAX8io7RQ==
Thread-topic: [Xen-devel] skb_checksum_setup and NAT
User-agent: Microsoft-Entourage/11.2.5.060620
On 28/9/06 17:12, "Christophe Saout" <christophe@xxxxxxxx> wrote:

> Why do you need this mess? Isn't the normal ip_summed sufficient? The
> patches don't contain any annotations.

The Linux network stack doesn't expect to be able to receive packets that
have their protocol-checksum field empty. So we have to add extra packet
flags to signal this situation. It does create something of a mess unless
all parts of the network stack know what's going on. I heard that the
networking maintainers were working on a more generic scheme that we should
be able to make use of. Apart from that, the stack needs to make sure that
the proto_csum_blank field is cleared whenever it fills in the full
checksum.

For now, if it causes you problems and you just want stuff to work, you can
run ethtool on your interface in domU: 'ethtool -K eth0 tx off'.

 -- Keir



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

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