summaryrefslogtreecommitdiffstats
path: root/linux/bin/linux-i40e
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlinux/bin/linux-i40e10
1 files changed, 8 insertions, 2 deletions
diff --git a/linux/bin/linux-i40e b/linux/bin/linux-i40e
index 637ae65..b86c063 100755
--- a/linux/bin/linux-i40e
+++ b/linux/bin/linux-i40e
@@ -31,7 +31,13 @@ fi
for DEVICE in ${DEVICES}
do
- echo -n "'${DEVICE}': disabling FW LLDP..."
+ echo -n "'${DEVICE}':"
+
+ echo -n " disable-fw-lldp"
ethtool --set-priv-flags ${DEVICE} disable-fw-lldp on
- echo " done."
+ echo -n "=on"
+
+ echo -n " link-down-on-close"
+ ethtool --set-priv-flags ${DEVICE} link-down-on-close on
+ echo "=on"
done