[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] bad udp checksums
- To: Mike Wright <mike.wright@xxxxxxxxxxxxxx>
- From: Florian Heigl <florian.heigl@xxxxxxxxx>
- Date: Mon, 26 Mar 2012 15:57:02 +0200
- Cc: xen-users@xxxxxxxxxxxxx
- Delivery-date: Mon, 26 Mar 2012 13:58:18 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=3g00hfJ8E6YoKAXldVhjaVuiBlkheeeO+FQ9bEs9N0w=; b=S8CL9Pl2bzKHZ72UbE2otSrt73Z9Mw65Tlwvn/ZndvNF3Fxa4jyx6SgyuoKqNVb4B8 mKmKrcC+jvvBVOdbUQt6qPiH8d5S2CxvYZJqli2+pcRfRCPa1GQb1DCOSMeQs2IIEadh 6pWBfBmXjC3lmYiS8IRRMDe2DhJqcTj6SDUaAp7XDCnbpY0rwQUvVZnuhjWFgIzgT+HH lSUuqCoLeyyjc1t4N0SEpGCLF/27KcFsOYmliFZfYYgVrsQ2pkNQFo25DFaSz7UX0IBk cgmkpxKkHKmpiUIePIuu12rVnxuClBSLqJJ0v05qIW1bLvWn3y9TdS/QYv6yEHb+X14u RryQ==
- List-id: Xen user discussion <xen-users.lists.xen.org>
Hi Mike,
2012/3/22 Mike Wright <mike.wright@xxxxxxxxxxxxxx>:
> Hi all,
>
> I'd hoped this had gone away but discovered that ntp is failing because of
> this (fortunately dns seems to ignore the bad sums and answers anyway).
>
> Basic info:
>
> xen-4.1.1 compiled locally
> linux 3.0.0 compiled locally
> fedora 14
>
> I ran "pethtool -K {all interfaces, all bridges, doms} tx off" with no
> apparent effect.
>
> I found an old email about xen-3 where somebody had patched this file:
>
> "xen/netback/interface.c"
>
> this way:
>
> - dev->features = NETIF_F_NO_CSUM;
> + dev->features = 0; /* replaced NETIF_F_NO_CSUM */
>
> to eliminate the symptom but I don't think that really solves the underlying
> problem.
>
> Open for any advice or suggestions.
Linux must correctly start computing/checking checksums if the
underlying device reports it's not supporting hw checksumming.
At some time I read that Linux doesn't generally verify checksums. I
don't know if it's true.
First thing to look into though - find out if it's true and how to
enable checksum verification on the receiver.
Second thing - I don't think many people are seeing any issue like
this anymore these days. Try replacing the NICs for a test (also just
working around the symptoms instead of properly computing checksums,
yes. But there's NICs with broken FW and there's NICs with non-broken
FW)
Last thing would be to switch to virtual function nics and pci delegation.
I'll take to crying if nothing else helps.
OR HOPEFULLY, someone else knows more about this!
Florian
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users