diff options
| author | Simon Rettberg | 2017-12-20 10:42:21 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2017-12-20 10:42:21 +0100 |
| commit | 3a99bb1c922ef6aeccbeda80906cef3eb11369b1 (patch) | |
| tree | 6dbcee925496dfc61ca2c0d9bac253d93448529f /core/rootfs | |
| parent | [kernel-vanilla] 4.14.6 (diff) | |
| download | mltk-3a99bb1c922ef6aeccbeda80906cef3eb11369b1.tar.gz mltk-3a99bb1c922ef6aeccbeda80906cef3eb11369b1.tar.xz mltk-3a99bb1c922ef6aeccbeda80906cef3eb11369b1.zip | |
[rfs-stage31/vmware] Support jumbo frames via SLX_JUMBO_FRAMES
Diffstat (limited to 'core/rootfs')
| -rw-r--r-- | core/rootfs/rootfs-stage31/data/inc/setup_network | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/rootfs/rootfs-stage31/data/inc/setup_network b/core/rootfs/rootfs-stage31/data/inc/setup_network index 897469cc..25a5e275 100644 --- a/core/rootfs/rootfs-stage31/data/inc/setup_network +++ b/core/rootfs/rootfs-stage31/data/inc/setup_network @@ -54,6 +54,7 @@ for LINE in $IP_OUT; do brctl setfd "$BRIDGE" 0.000000000001 ip link set addr "$IFMAC" "$BRIDGE" || drop_shell "Could not set mac of $BRIDGE" ip link set dev "$IFACE" up + [ "x$SLX_JUMBO_FRAMES" = "xyes" ] && ip link set dev "$IFACE" mtu 9000 wait_for_iface "$IFACE" brctl addif "$BRIDGE" "$IFACE" || drop_shell "Could not add $IFACE to $BRIDGE" |
