Re: [PATCH v2 net-next] virtio-net: Update the mtu code to match virtio spec
From: David Miller
Date: Sat Oct 29 2016 - 12:01:07 EST
From: Aaron Conole <aconole@xxxxxxxxxx>
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@xxxxxxxxxx>
> Acked-by: "Michael S. Tsirkin" <mst@xxxxxxxxxx>
> Acked-by: Jarod Wilson <jarod@xxxxxxxxxx>
> ---
> Nothing code-wise has changed, but I've included the ACKs and fixed up the
> subject line.
Applied, thanks.