Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756539AbcJ2QBF (ORCPT ); Sat, 29 Oct 2016 12:01:05 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:48134 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754594AbcJ2QBE (ORCPT ); Sat, 29 Oct 2016 12:01:04 -0400 Date: Sat, 29 Oct 2016 12:01:02 -0400 (EDT) Message-Id: <20161029.120102.2254330014511044545.davem@davemloft.net> To: aconole@redhat.com Cc: netdev@vger.kernel.org, virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, mst@redhat.com, jarod@redhat.com Subject: Re: [PATCH v2 net-next] virtio-net: Update the mtu code to match virtio spec From: David Miller In-Reply-To: <1477426332-31093-1-git-send-email-aconole@redhat.com> References: <1477426332-31093-1-git-send-email-aconole@redhat.com> X-Mailer: Mew version 6.7 on Emacs 25.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 29 Oct 2016 08:01:28 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 712 Lines: 20 From: Aaron Conole Date: Tue, 25 Oct 2016 16:12:12 -0400 > The virtio committee recently ratified a change, VIRTIO-152, which > defines the mtu field to be 'max' MTU, not simply desired MTU. > > This commit brings the virtio-net device in compliance with VIRTIO-152. > > Additionally, drop the max_mtu branch - it cannot be taken since the u16 > returned by virtio_cread16 will never exceed the initial value of > max_mtu. > > Signed-off-by: Aaron Conole > Acked-by: "Michael S. Tsirkin" > Acked-by: Jarod Wilson > --- > Nothing code-wise has changed, but I've included the ACKs and fixed up the > subject line. Applied, thanks.