Received: from eggs.gnu.org ([2001:4830:134:3::10]:48532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cC2ys-0003hX-Kj for qemu-devel@nongnu.org; Wed, 30 Nov 2016 06:23:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cC2yo-0007Eb-Mz for qemu-devel@nongnu.org; Wed, 30 Nov 2016 06:23:18 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60414) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cC2yo-0007EH-Ga for qemu-devel@nongnu.org; Wed, 30 Nov 2016 06:23:14 -0500 References: <20161130101017.13382-1-maxime.coquelin@redhat.com> From: Jason Wang Message-ID: Date: Wed, 30 Nov 2016 19:23:01 +0800 MIME-Version: 1.0 In-Reply-To: <20161130101017.13382-1-maxime.coquelin@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC v3 0/3] virtio-net: Add support to MTU feature List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Maxime Coquelin , mst@redhat.com, aconole@redhat.com, pbonzini@redhat.com, qemu-devel@nongnu.org, fbl@redhat.com, berrange@redhat.com, mlureau@redhat.com, ktraynor@redhat.com Cc: yuanhan.liu@linux.intel.com On 2016=E5=B9=B411=E6=9C=8830=E6=97=A5 18:10, Maxime Coquelin wrote: > This series implements Virtio spec update from Aaron Conole which > defines a way for the host to expose its max MTU to the guest. > > This third version re-desings how MTU value is provided to QEMU. > Now, host_mtu parameter is added to provide QEMU with the MTU value, > and the backend, if supported, gets notified of the MTU value when the > MTU feature neogotiation succeeds. > > Only user backend currently supports MTU notification. A new protocol > feature has been implemented for sending MTU value to the backend. > Aaron, Kevin, Flavio, do you confirm this works for OVS if DPDK vhost l= ib > adds needed API to get the MTU value? > > For kernel backend, it is expected the management tool also configures > the tap/macvtap interface with same MTU value. > Daniel, I would be interrested about your feedback on this implementati= on > from management tool point of view. I believe we want management tool to configure both kernel and user=20 backends. > > Changes since RFC v2: > --------------------- > - host_mtu propoerty is now used to specify the MTU value > - update vhost-user spec with MTU additions > > 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 MTU protocol feature and op > vhost-net: Notify the backend about the host MTU > virtio-net: Add MTU feature support > > docs/specs/vhost-user.txt | 13 +++++++++++++ > hw/net/vhost_net.c | 22 ++++++++++++++++++++++ > hw/net/virtio-net.c | 13 +++++++++++++ > hw/virtio/vhost-user.c | 13 +++++++++++++ > include/hw/virtio/vhost-backend.h | 2 ++ > include/hw/virtio/virtio-net.h | 1 + > include/net/vhost_net.h | 2 ++ > 7 files changed, 66 insertions(+) >