Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1511828

Re: [PATCH v2 net-next] virtio-net: Update the mtu code to match virtio spec

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v2 net-next] virtio-net: Update the mtu code to match virtio spec
Date 2016-10-29 18:10 +0200
Message-ID <sxEmJ-hT-9@gated-at.bofh.it> (permalink)
References <swgmu-1Zk-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Aaron Conole <aconole@redhat.com>
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 <aconole@redhat.com>
> Acked-by: "Michael S. Tsirkin" <mst@redhat.com>
> Acked-by: Jarod Wilson <jarod@redhat.com>
> ---
> Nothing code-wise has changed, but I've included the ACKs and fixed up the
> subject line.

Applied, thanks.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 net-next] virtio-net: Update the mtu code to match  virtio spec David Miller <davem@davemloft.net> - 2016-10-29 18:10 +0200

csiph-web