From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: user space virtio-net exits with "truncating packet" error Date: Thu, 14 May 2009 21:28:57 +0930 Message-ID: <200905142128.58111.rusty@rustcorp.com.au> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Cc: Avi Kivity , netdev@vger.kernel.org, Gregory Haskins , Anthony Liguori To: Or Gerlitz Return-path: Received: from ozlabs.org ([203.10.76.45]:55215 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755086AbZENL7Q (ORCPT ); Thu, 14 May 2009 07:59:16 -0400 In-Reply-To: Content-Disposition: inline Sender: netdev-owner@vger.kernel.org List-ID: On Thu, 14 May 2009 07:37:42 pm Or Gerlitz wrote: > Hi, > > When running with jumbo frames (i.e set tap0 and guest nic mtu to 9k) > and using 8k sized packets with iperf, the qemu process exits with > "virtio-net truncating packet" which I see in the code of > qemu/hw/virtio-net.c > > :: virtio_net_receive(). This happens only when the VM is receiving, if I > > send 8K packets from the VM things go fine. > > I use virtio based NIC in the VM and Linux 2.6.29.1 in both the VM and the > host. Qemu is the one provided by kvm release 84 - whose sources don't > point me to a specific git tree nor a maintainer, so I hope you can help > me... Maintainer Cc'd. The answer is that virtio_net by default only supports 1500 MTU; I've not tried larger MTUs. Rusty.