Home | History | Annotate | Download | only in interface

Lines Matching refs:mtu

26 # The interval of the mtu change [second]
29 # The array of the value which MTU is changed into sequentially
40 ip li set $(tst_iface) mtu $saved_mtu
41 tst_rhost_run -c "ip li set $(tst_iface rhost) mtu $saved_mtu"
62 tst_resm TINFO "'$cmd_name changes MTU $MTU_CHANGE_TIMES times" \
71 mtu=$(echo $CHANGE_VALUES | cut -d ' ' -f $field)
72 [ $cnt -eq $MTU_CHANGE_TIMES ] && mtu="$saved_mtu"
76 tst_resm TINFO "set MTU to $mtu $cnt/$MTU_CHANGE_TIMES"
79 if_cmd) ifconfig $iface mtu $mtu || ret=1
80 tst_rhost_run -c "ifconfig $iface_rmt mtu $mtu"
82 ip_cmd) ip link set $iface mtu $mtu || ret=1
83 tst_rhost_run -c "ip link set $iface_rmt mtu $mtu"
88 tst_resm TFAIL "Failed to change the mtu at $cnt time"
102 saved_mtu="$(cat /sys/class/net/$(tst_iface)/mtu)"