diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2022-05-24 04:59:53 +0000 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2022-05-24 05:33:41 +0000 |
commit | 6960394714379ceab8d05b635f68ec9a659f5f4f (patch) | |
tree | 34b0e652e55621e804c547da20d45b66b7e928bc /linux | |
parent | Renaming ethtools to linux since it's about kernel module options for now. (diff) | |
download | service-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-x | linux/bin/linux-i40e | 10 |
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 |