-
set the mtu before attaching to the bridge · eb14c10aDaniel Lezcano authored
"I checked lxc-0.6.1 and your commit 75d09f83 (set mtu for netdev). I found a problem of the MTU size of br0. In the current code, device_set_mtu() is called after bridge_attach(), so the MTU size of br0 is set to the default MTU size of veth0 (i.e., 1500 bytes). This causes performance degradation as I reported. We need to modify to call device_set_mtu() before bridge_attach()" Now that we have the network functions accessible, do not longer use the lxc_configure_veth, lxc_configure_macvlan and split the configuration of the veth in order to create it, configure it and finally attach it to the bridge. Reported-by:
Ryousei Takano <takano-ryousei@aist.go.jp> Signed-off-by:
Daniel Lezcano <dlezcano@fr.ibm.com> Acked-by:
Ryousei Takano <takano-ryousei@aist.go.jp>
eb14c10a
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| lxc | Loading commit data... | |
| .cvsignore | Loading commit data... | |
| Makefile.am | Loading commit data... |