qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 0/3] virtio-net: Add support to MTU feature


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] [PATCH v4 0/3] virtio-net: Add support to MTU feature
Date: Mon, 12 Dec 2016 10:34:32 +0000
User-agent: Mutt/1.7.1 (2016-10-04)

On Mon, Dec 12, 2016 at 11:12:56AM +0100, Maxime Coquelin wrote:
> Hi Daniel,
> 
> On 12/12/2016 11:02 AM, Daniel P. Berrange wrote:
> > On Sat, Dec 10, 2016 at 04:30:35PM +0100, Maxime Coquelin wrote:
> > > Thanks for the reviews,
> > > 
> > > This series implements Virtio spec update from Aaron Conole which
> > > defines a way for the host to expose its max MTU to the guest.
> > > 
> > > "host_mtu" parameter is added to provide QEMU with the MTU value,
> > > and the backend, if supported, gets notified of the MTU value when the
> > > MTU feature neogotiation succeeds.
> > > 
> > > Only user backend currently supports MTU notification. A new protocol
> > > feature has been implemented for sending MTU value to the backend.
> > > 
> > > For kernel backend, it is expected the management tool also configures
> > > the tap/macvtap interface with same MTU value.
> > > Daniel, I would be interrested about your feedback on this implementation
> > > from management tool point of view.
> > 
> > I can't give real feedback yet, as I'm not seeing clear information on
> > what problem this series is designed to solve....
> 
> Right, I agree it is missing a bit of context here, I'll add more about
> the background in next revision.
> 
> The goal of this series is to address two things:
> 1. Providing a way for the guests to use the same MTU as the host,
>    in order to have a consistent MTU value across the infrastructure.

Ok, currently libvirt sets the MTU of the tap device based on the MTU
of the device it will be attached to. This change means we need to pass
that MTU value into QEMU via the -netdev command line so it can inform
the guest what the MTU is.

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]