From: Aaron Conole <[email protected]> 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 <[email protected]> > Acked-by: "Michael S. Tsirkin" <[email protected]> > Acked-by: Jarod Wilson <[email protected]> > --- > Nothing code-wise has changed, but I've included the ACKs and fixed up the > subject line. Applied, thanks.
