Do not assume mtu the mtu of xnb and mtu interfaces on FreeBSD.
PATCH 1/1 Do not assume mtu the mtu of xnb and mtu interfaces on FreeBSD.
On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value.
The tools used are sed and ifconfig, both included on base. No need to install additional ports (no new dependences).
--- tools/hotplug/FreeBSD/vif-bridge | 2 ++ 1 file changed, 2 insertions(+)
tools/hotplug/FreeBSD/vif-bridge +2 -0
@@ -22,6 +22,8 @@ action=$2 case $action in add) bridge=$(xenstore-read "$path/bridge") + mtu=$(ifconfig $bridge | sed -n 's/.*mtu \([0-9]*\)$/\1/p') + ifconfig $iface_dev mtu $mtu ifconfig $bridge addm $iface_dev ifconfig $iface_dev up exit 0
Signature · 1 line
2.3.5
El 20/04/15 a les 9.12, Gustau Perez ha escrit:
Quoted 9 lines
On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value.
The tools used are sed and ifconfig, both included on base. No need to install additional ports (no new dependences).
Signed-off-by Gustau Perez <[email protected]>
+CCing the tools maintainers.
Roger.
Wei Liu
Acked-byQuoted 6 lines · Roger Pau Monné
El 20/04/15 a les 9.12, Gustau Perez ha escrit:
Quoted 5 lines
On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value.
Quoted 9 lines
Quoted 4 lines
The tools used are sed and ifconfig, both included on base. No need to install additional ports (no new dependences).
Signed-off-by Gustau Perez <[email protected]>Acked-by Roger Pau Monné <[email protected]>+CCing the tools maintainers.
The patch title is a bit cryptic. Maybe change it to:
hotplug: set network interface MTU to bridge MTU on FreeBSD
?
In any case
Wei.
Quoted 1 line
Roger.
Quoted 19 lines · Wei Liu
Quoted 6 lines · Roger Pau Monné
El 20/04/15 a les 9.12, Gustau Perez ha escrit:
Quoted 5 lines
On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value.
Quoted 8 lines
Quoted 4 lines
The tools used are sed and ifconfig, both included on base. No need to install additional ports (no new dependences).
Signed-off-by Gustau Perez <[email protected]>Acked-by Roger Pau Monné <[email protected]>+CCing the tools maintainers.
The patch title is a bit cryptic. Maybe change it to:
hotplug: set network interface MTU to bridge MTU on FreeBSD
Quoted 7 lines
?
In any case
Acked-by Wei Liu <[email protected]>Wei.
Seems fine to me.
Best,
G.
Quoted 23 lines · Gustau Pérez
Quoted 21 lines · Wei Liu
Quoted 6 lines · Roger Pau Monné
El 20/04/15 a les 9.12, Gustau Perez ha escrit:
Quoted 5 lines
On creation time, tap and xnb interfaces are created with an mtu of 1500 bytes, assuming the bridge will have the same value. Instead, check the bridge mtu and configure the new xnb or tap interface with the same value.
Quoted 8 lines
Quoted 4 lines
The tools used are sed and ifconfig, both included on base. No need to install additional ports (no new dependences).
Signed-off-by Gustau Perez <[email protected]>Acked-by Roger Pau Monné <[email protected]>+CCing the tools maintainers.
The patch title is a bit cryptic. Maybe change it to:
hotplug: set network interface MTU to bridge MTU on FreeBSD
?
Quoted 7 lines
Quoted 5 lines
In any case
Acked-by Wei Liu <[email protected]>Wei.
Seems fine to me.
I went with "hotplug/FreeBSD: set network interface MTU to bridge MTU". Acked + applied, thanks.
Quoted 4 lines
Best, G.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel