diff options
Diffstat (limited to 'linux/bin/linux-i40e')
-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 |