From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c7nh0-0007nd-ES for qemu-devel@nongnu.org; Fri, 18 Nov 2016 13:15:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c7ngv-0004Wx-Hu for qemu-devel@nongnu.org; Fri, 18 Nov 2016 13:15:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36342) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c7ngv-0004WW-Bk for qemu-devel@nongnu.org; Fri, 18 Nov 2016 13:15:13 -0500 From: Aaron Conole References: <1479419887-10515-1-git-send-email-maxime.coquelin@redhat.com> Date: Fri, 18 Nov 2016 13:15:10 -0500 In-Reply-To: <1479419887-10515-1-git-send-email-maxime.coquelin@redhat.com> (Maxime Coquelin's message of "Thu, 17 Nov 2016 22:58:04 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [RFC v2 0/3] virtio-net: Add support to MTU feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Maxime Coquelin Cc: mst@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org, jasowang@redhat.com, yuanhan.liu@linux.intel.com Maxime Coquelin writes: > This series implements Virtio spec update from Aaron Conole which > defines a way for the host to expose its max MTU to the guest. > > Changes since RFC v1: > --------------------- > - Rebased on top of v2.8.0-rc0 (2.7.90) > - Write MTU unconditionnaly in netcfg to avoid memory leak (Paolo) > - Add host_mtu property to be able to disable the feature from QEMU > > Maxime Coquelin (3): > vhost-user: Add new protocol feature MTU > vhost-net: Add new MTU feature support > virtio-net: Add MTU feature support > > hw/net/vhost_net.c | 11 +++++++++++ > hw/net/virtio-net.c | 14 ++++++++++++++ > hw/virtio/vhost-user.c | 11 +++++++++++ > include/hw/virtio/vhost.h | 1 + > include/hw/virtio/virtio-net.h | 1 + > include/net/vhost_net.h | 2 ++ > 6 files changed, 40 insertions(+) I ran this with a VM, but it seems the offered maximum MTU was of value 0 - is this expected with this version? How can I change the offered value? Sorry, I'm not as familiar with QEMU/libvirt side of the world. -Aaron