On Wed, Nov 23, 2016 at 11:42:52AM +0800, Jason Wang wrote: > > > > > > > > Seems to me like an easy way to get out of sync. > > > > > > > > > > > >If we send it to the backend, that has a chance to check > > > > > >mtu and disconnect on error. > > > > > > > >For vhost-user backend, we can send it the MTU value with a > > > >vhost-user protocol feature. > > > > > > > >For tun/macvtap, how do you do without adding a new ioctl ? > > Have management configure same mtu on the backend and in qemu. > > > > > > Then why not do same for vhost-user (instead of using two different > methods)?
That's what I'm saying. If backend supports that, we can also check the mtu in some way to make sure it matches. -- MST