Lines Matching full:feature
132 while read -r FEATURE VALUE FIXED; do
133 [ "$FEATURE" != "Features" ] || continue # Skip "Features"
135 feature="${FEATURE%:*}"
137 ethtool --offload "$netdev" "$feature" off
139 echo "PASS: $netdev: Turned off feature: $feature"
141 echo "FAIL: $netdev: Failed to turn off feature:" \
142 "$feature"
145 ethtool --offload "$netdev" "$feature" on
147 echo "PASS: $netdev: Turned on feature: $feature"
149 echo "FAIL: $netdev: Failed to turn on feature:" \
150 "$feature"
153 #restore the feature to its initial state
154 ethtool --offload "$netdev" "$feature" "$VALUE"
156 echo "PASS: $netdev: Restore feature $feature" \
159 echo "FAIL: $netdev: Failed to restore feature" \
160 "$feature to initial state $VALUE"