xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* vif-openvswitch.
@ 2017-03-24 14:35 Alvin Starr
  0 siblings, 0 replies; only message in thread
From: Alvin Starr @ 2017-03-24 14:35 UTC (permalink / raw)
  To: xen-devel

I recently ran into a situation where I wanted to change the MTU of an 
openvswitch bridge.

I modified /etc/xen/scripts/vif-openvswitch  to set the MTU on the vif 
interfaces before they are attached to the bridge.

I am not sure if this is the best solution.

The MTU on an OVS bridge becomes the MTU of the smallest MTU attahced 
device which is fine but it seems that if you detach the smallest device 
from the bridge that the MTU stays at that lower level.

I have not tested this small MTU stickiness but it confused me for a while.

My patch sets the MTU of the new vif device from the MTU of the bridge 
which works well so long as nobody attaches a smaller MTU device.

I am not sure if this is the right solution but there should be some way 
to set the MTU of the bridge and vif devices.


-- 
Alvin Starr                   ||   voice: (905)513-7688
Netvel Inc.                   ||   Cell:  (416)806-0133
alvin@netvel.net              ||


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-24 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-24 14:35 vif-openvswitch Alvin Starr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).