From: Ian Campbell Subject: Re: PCI passthrough issue Date: Fri, 4 Feb 2011 11:28:55 +0000 Message-ID: <1296818935.13091.648.camel@zakaz.uk.xensource.com> References: <4D47F9CF.2040107@jbfavre.org> <1296566401.13091.171.camel@zakaz.uk.xensource.com> <4D4814CE.5050303@jbfavre.org> <1296569931.13091.194.camel@zakaz.uk.xensource.com> <4D48234F.2020907@jbfavre.org> <4D4828D9.6090601@jbfavre.org> <1296577389.13091.288.camel@zakaz.uk.xensource.com> <4D488355.8010706@jbfavre.org> <1296638873.13091.315.camel@zakaz.uk.xensource.com> <4D4930F3.608@jbfavre.org> <20110202174250.GA8148@dumpdata.com> <4D4BBC15.4080201@jbfavre.org> <1296809586.13091.546.camel@zakaz.uk.xensource.com> <4D4BBEC6.8070809@jbfavre.org> <4D4BD121.2080505@jbfavre.org> <1296817460.13091.646.camel@zakaz.uk.xensource.com> <4D4BE212.1090400@jbfavre.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4D4BE212.1090400@jbfavre.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Fri, 2011-02-04 at 11:25 +0000, Jean Baptiste Favre wrote: > Hello, >=20 > Le 04/02/2011 12:04, Ian Campbell a =C3=A9crit : > > On Fri, 2011-02-04 at 10:12 +0000, Jean Baptiste Favre wrote: > >> Hello Ian, > >> Applyed your patches. > >=20 > > Thanks. > >=20 > >> Now, I've: > >> # ping -s86 10.0.0.1 > >> PING 10.0.0.1 (10.0.0.1): 86 data bytes > >> __netif_receive_skb dropping skb proto 0x20 > >> > >> > >> So problem seems to occur in net/core/dev.c file, according to the p= atch > >> bellow > >=20 > > Interesting. the number printed in the warning is type =3D=3D skb->pr= otocol > > =3D=3D 0x20 which is not a valid protocol that I can find anywhere (n= or is > > 0x2000 in case I'm mixing my endianesses up). Neither is 0x20 it a va= lid > > Ethernet frame length (min 64) so it's not that sort of confusion > > AFAICT. > >=20 > > skb->protocol is initialised in sky2_status_intr with the return valu= e > > of "eth_type_trans(skb, dev)" which as far as I can tell cannot retur= n > > 0x20. > >=20 > > The domU network configuration is using the sky2 device directly, no > > bridging, VLAN, tunnels or anything else like that? > At boot it uses bridge. > For the test, I delete bridge and set IP address directly on eth0 OK, good. [...] > generic-segmentation-offload: on [...] > receive-hashing: on Can you also try turning these two off (independently and together). > What is a bit strange here is that I don't any more the KERN_CRIT print= k > message. > Could be a false positive ? Worth bearing in mind, lets see what the next test run produces. > I'm currently compiling new kernel with your last patch. will keep you > updated Thanks. Please gather the tcpdump's too. Ian.