Lines Matching refs:mtu
33 local mtu="$1"
40 ifconfig) ifconfig $iface mtu $mtu || ret=1
41 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu" || ret=1
43 ip) ip link set $iface mtu $mtu || ret=1
44 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu" || ret=1
58 set_mtu $min_mtu $CMD || tst_brk TBROK "failed to set MTU to $mtu"
84 ip link set $(tst_iface) mtu $saved_mtu
103 mtu=$(echo $CHANGE_VALUES | cut -d ' ' -f $field)
104 [ $cnt -eq $MTU_CHANGE_TIMES ] && mtu="$saved_mtu"
108 tst_res TINFO "set MTU to $mtu $cnt/$MTU_CHANGE_TIMES"
109 if ! set_mtu $mtu $cmd; then
110 tst_res TFAIL "failed to change MTU to $mtu at $cnt time"
116 tst_ping -s "1 $((mtu / 2)) $mtu $MAX_PACKET_SIZE"