From mboxrd@z Thu Jan 1 00:00:00 1970 From: Or Gerlitz Subject: Re: user space virtio-net exits with "truncating packet" error Date: Thu, 14 May 2009 15:25:35 +0300 Message-ID: <4A0C0DBF.3010201@Voltaire.com> References: <1242300155.17366.20.camel@blaa> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Rusty Russell , Avi Kivity , netdev@vger.kernel.org, Gregory Haskins , qemu-devel , Anthony Liguori To: Mark McLoughlin Return-path: Received: from fwil.voltaire.com ([193.47.165.2]:40518 "EHLO exil.voltaire.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756637AbZENMZm (ORCPT ); Thu, 14 May 2009 08:25:42 -0400 In-Reply-To: <1242300155.17366.20.camel@blaa> Sender: netdev-owner@vger.kernel.org List-ID: Mark McLoughlin wrote: > That sounds like a bug in qemu's mergeable receive buffers > implementation - the host is running out of buffers for the packet, even > though it supposedly has already checked that there is enough buffers > available on the ring. > > Hmm, I think I see the bug - does the patch below work? Please try > several mtu values around the 9k mark to be sure No, it doesn't help, same crash. Or. From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4a0x-0000GS-Fm for qemu-devel@nongnu.org; Thu, 14 May 2009 08:26:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4a0q-0000Fg-U7 for qemu-devel@nongnu.org; Thu, 14 May 2009 08:26:17 -0400 Received: from [199.232.76.173] (port=42914 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4a0n-0000Fb-9b for qemu-devel@nongnu.org; Thu, 14 May 2009 08:26:10 -0400 Received: from fwil.voltaire.com ([193.47.165.2]:40773 helo=exil.voltaire.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M4a0m-0006A6-Tb for qemu-devel@nongnu.org; Thu, 14 May 2009 08:26:09 -0400 Message-ID: <4A0C0DBF.3010201@Voltaire.com> Date: Thu, 14 May 2009 15:25:35 +0300 From: Or Gerlitz MIME-Version: 1.0 References: <1242300155.17366.20.camel@blaa> In-Reply-To: <1242300155.17366.20.camel@blaa> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: user space virtio-net exits with "truncating packet" error List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mark McLoughlin Cc: netdev@vger.kernel.org, Rusty Russell , qemu-devel , Avi Kivity , Gregory Haskins Mark McLoughlin wrote: > That sounds like a bug in qemu's mergeable receive buffers > implementation - the host is running out of buffers for the packet, even > though it supposedly has already checked that there is enough buffers > available on the ring. > > Hmm, I think I see the bug - does the patch below work? Please try > several mtu values around the 9k mark to be sure No, it doesn't help, same crash. Or.