Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
xen
vif-bridge.mtu.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File vif-bridge.mtu.patch of Package xen
Subject: set mtu from bridge also on vif interface References: bug#625394 Apply mtu size from bridge interface also in vif interface. This depends on a kernel change which allows arbitrary mtu sizes until the frontend driver has connected to the backend driver. Without this kernel change, the vif mtu size will be limited to 1500 with this change to the vif-bridge script. (xen-unstable changeset: 22885:005722613063) Signed-off-by: Olaf Hering <olaf@aepfle.de> --- tools/hotplug/Linux/vif-bridge | 5 +++++ 1 file changed, 5 insertions(+) Index: xen-4.1.2-testing/tools/hotplug/Linux/vif-bridge =================================================================== --- xen-4.1.2-testing.orig/tools/hotplug/Linux/vif-bridge +++ xen-4.1.2-testing/tools/hotplug/Linux/vif-bridge @@ -104,6 +104,11 @@ case "$command" in add) setup_virtual_bridge_port "$dev" + mtu="`ip link show $bridge | awk '/mtu/ { print $5 }'`" + if [ -n "$mtu" ] && [ "$mtu" -gt 0 ] + then + ip link set $vif mtu $mtu || : + fi add_to_bridge "$bridge" "$dev" ;; esac
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor