Lines Matching refs:iface
20 local iface=$1; shift
22 local current=$(ip -j link show dev $iface | jq -r '.[0].mtu')
26 ip link set dev $iface mtu $required || return 1
32 local iface=$1; shift
49 before=$(ethtool --json -S $iface --groups rmon | \
55 $MZ $iface -q -c $num_tx -p $len -a own -b bcast -d 10us
57 after=$(ethtool --json -S $iface --groups rmon | \
70 local iface=$1; shift
79 step="$set-pkts${bucket[0]}to${bucket[1]} on $iface"
81 for if in $iface $neigh; do
88 if ! bucket_test $iface $neigh $set $nbuckets ${bucket[0]}; then
94 done < <(ethtool --json -S $iface --groups rmon | \
98 log_test_xfail "$iface does not support $set histogram counters"
120 for iface in $h1 $h2; do
121 netif_mtu[$iface]=$(ip -j link show dev $iface | jq -r '.[0].mtu')
122 ip link set dev $iface up
130 for iface in $h2 $h1; do
131 ip link set dev $iface \
132 mtu ${netif_mtu[$iface]} \