summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2022-05-24 04:59:53 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2022-05-24 05:33:41 +0000
commit6960394714379ceab8d05b635f68ec9a659f5f4f (patch)
tree34b0e652e55621e804c547da20d45b66b7e928bc
parentRenaming ethtools to linux since it's about kernel module options for now. (diff)
downloadservice-tools-6960394714379ceab8d05b635f68ec9a659f5f4f.tar.xz
service-tools-6960394714379ceab8d05b635f68ec9a659f5f4f.zip
Adding link-down-on-close=on in linux-i40e.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
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