From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934596AbcCPEzk (ORCPT ); Wed, 16 Mar 2016 00:55:40 -0400 Received: from mx5-phx2.redhat.com ([209.132.183.37]:57863 "EHLO mx5-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752373AbcCPEze (ORCPT ); Wed, 16 Mar 2016 00:55:34 -0400 Date: Wed, 16 Mar 2016 00:55:30 -0400 (EDT) From: Pankaj Gupta To: Aaron Conole Cc: netdev@vger.kernel.org, "Michael S. Tsirkin" , virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org Message-ID: <1969060351.30231176.1458104130844.JavaMail.zimbra@redhat.com> In-Reply-To: <1458075853-14789-1-git-send-email-aconole@redhat.com> References: <1458075853-14789-1-git-send-email-aconole@redhat.com> Subject: Re: [RFC v2 -next 0/2] virtio-net: Advised MTU feature MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [10.65.193.144] X-Mailer: Zimbra 8.0.6_GA_5922 (ZimbraWebClient - FF38 (Linux)/8.0.6_GA_5922) Thread-Topic: virtio-net: Advised MTU feature Thread-Index: npVGpS3wvdt1C/Yu1CazVrr9hVmc7A== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > The following series adds the ability for a hypervisor to set an MTU on the > guest during feature negotiation phase. This is useful for VM orchestration > when, for instance, tunneling is involved and the MTU of the various systems > should be homogenous. > > The first patch adds the feature bit as described in the proposed VFIO spec You mean VIRTIO spec? > addition found at > https://lists.oasis-open.org/archives/virtio-dev/201603/msg00001.html > > The second patch adds a user of the bit, and a warning when the guest changes > the MTU from the hypervisor advised MTU. Future patches may add more thorough > error handling. > > v2: > * Whitespace and code style cleanups from Sergei Shtylyov and Paolo Abeni > * Additional test before printing a warning > > Aaron Conole (2): > virtio: Start feature MTU support > virtio_net: Read the advised MTU > > drivers/net/virtio_net.c | 12 ++++++++++++ > include/uapi/linux/virtio_net.h | 3 +++ > 2 files changed, 15 insertions(+) > > -- > 2.5.0 > >