[Bug 625394] New: cannot set mtu on xen vif
http://bugzilla.novell.com/show_bug.cgi?id=625394 http://bugzilla.novell.com/show_bug.cgi?id=625394#c0 Summary: cannot set mtu on xen vif Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: All OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: jdouglas@novell.com ReportedBy: samuel.kvasnica@ims.co.at QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.6) Gecko/20100629 Mandriva Linux/1.9.2.6-0.1mdv2010.0 (2010.0) Firefox/3.6.6 Curenntly there is no chance to set the mtu on xen virtual interface because the xen scripts do not seem to support this. Even if the bridge and the underlying eth interface both have e.g. mtu=9000 set, upon creation of new domU, these will be reset back to mtu=1500 due to default of 1500 set on the new vif. This can lead even to connection problems if we have somewhere mtu set to 1500 and somewhere to 9000. The problem is, the xen scripts do not address mtu setting at all. There is no 'mtu' option on the vif = [] line of the config file and the vif-bridge shell script ignores current bridge mtu setting. As a quick workaround, I patched the /etc/xen/scripts/vif-bridge file to apply the current bridge mtu setting to the newly created vif (see lines below). Could please somebody have a look and add some this or some other good solution to the distribution ? ---> snip <--- --- vif-bridge 2010-07-25 17:13:10.204553346 +0200 +++ vif-bridge.orig 2010-07-25 17:13:40.780562775 +0200 @@ -79,17 +79,10 @@ fatal "Could not find bridge device $bridge" fi -# read mtu setting from bridge before setting up vif -mtu=`ip link show $bridge |awk '/mtu/ {print $5}'` - case "$command" in online) setup_bridge_port "$vif" add_to_bridge "$bridge" "$vif" - if [ -n "$mtu" -a "$mtu" != "1500" ] # mtu argument not empty and not 1500 - then - (sleep 2;ip link set $vif mtu $mtu) & - fi ;; offline) Reproducible: Always Steps to Reproduce: 1.try xen e.g. with 10gbit eth + jumbo frames 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625394
http://bugzilla.novell.com/show_bug.cgi?id=625394#c
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c1
--- Comment #1 from Samuel Kvasnica
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c2
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c3
--- Comment #3 from Samuel Kvasnica
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c4
James Fehlig
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c5
--- Comment #5 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c6
--- Comment #6 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c7
--- Comment #7 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c8
--- Comment #8 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c9
--- Comment #9 from Samuel Kvasnica
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c10
--- Comment #10 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c11
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c12
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c13
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c14
Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c15
--- Comment #15 from Samuel Kvasnica
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c16
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c17
Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c18
Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c19
Ciro Iriarte
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c20
--- Comment #20 from Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=625394
https://bugzilla.novell.com/show_bug.cgi?id=625394#c21
--- Comment #21 from Ciro Iriarte
participants (1)
-
bugzilla_noreply@novell.com