Lines Matching full:ethtool
79 # test an ethtool command
80 # arg1: return code for not supported (see ethtool code source)
86 echo "SKIP: $netdev: ethtool: invalid number of arguments"
93 echo "XFAIL: $netdev: ethtool $2 not supported"
96 echo "FAIL: $netdev: ethtool $2"
100 echo "PASS: $netdev: ethtool $2"
105 # test ethtool commands
111 #check presence of ethtool
112 ethtool --version 2>/dev/null >/dev/null
114 echo "SKIP: ethtool not present"
124 ethtool -k "$netdev" > "$TMP_ETHTOOL_FEATURES"
126 echo "FAIL: $netdev: ethtool list features"
130 echo "PASS: $netdev: ethtool list features"
137 ethtool --offload "$netdev" "$feature" off
145 ethtool --offload "$netdev" "$feature" on
154 ethtool --offload "$netdev" "$feature" "$VALUE"
167 kci_netdev_ethtool_test 74 'dump' "ethtool -d $netdev"
168 kci_netdev_ethtool_test 94 'stats' "ethtool -S $netdev"